aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Noll <nnoll523@gmail.com>2021-10-06 14:12:38 -0700
committerNicholas Noll <nnoll523@gmail.com>2021-10-06 14:12:38 -0700
commitd9bc0f805e84115b940bed234bd182fca4c05b1f (patch)
tree51052532dee858603cbfb7d2d8eaad60b75621e2
parent08d3749a636f9cd51f70ba1eed043be8e6c2eca9 (diff)
fix(util): removed debug prints
-rwxr-xr-xbin/tmux-send4
1 files changed, 0 insertions, 4 deletions
diff --git a/bin/tmux-send b/bin/tmux-send
index b2e7fd4..47a6de8 100755
--- a/bin/tmux-send
+++ b/bin/tmux-send
@@ -4,10 +4,6 @@ dir=$1
tty=$(tmux list-panes -F "#{pane_active}#{pane_tty}" | grep '^1' | cut -c2-)
vim=$(ps -o stat=,command= -t $tty | awk 'BEGIN{flag=0} {if($1 ~ /S*+/ && $2 ~ /nvim/){flag +=1}}; END {print flag}')
-echo $dir
-echo $tty
-echo $vim
-
if [ $vim -gt 0 ]; then
case $dir in
up)