about summary refs log tree commit diff
path: root/tq
diff options
context:
space:
mode:
Diffstat (limited to 'tq')
-rwxr-xr-xtq2
1 files changed, 1 insertions, 1 deletions
diff --git a/tq b/tq
index 1a8bbeb..882a8b8 100755
--- a/tq
+++ b/tq
@@ -11,7 +11,7 @@ printf '%s\n' "$s"
 if [ -n "$p" ] && [ -n "$TMUX" ]; then
 	tmux new-window -a -d -n '<' -c '#{pane_current_path}' \
 		"trap true INT QUIT TERM EXIT;
-		 tail -F --pid=$p $s || kill $p;
+		 fq $s || kill $p;
 		 printf '[%d exited, ^D to exit.]\n' $p;
 		 cat >/dev/null"
 fi