]> Sergey Matveev's repositories - dotfiles.git/blobdiff - bin/bin/tmux-path-extractor.sh
More fzf/path-extractor convenience
[dotfiles.git] / bin / bin / tmux-path-extractor.sh
index 4375c598b2d149687cf9f53fdaa40032f99dda98..162f0bb0353c270c20f41fc1e3e651c825957d00 100755 (executable)
@@ -1,10 +1,6 @@
 #!/bin/sh
 
 tmux has-session -t path-extractor && tmux kill-session -t path-extractor || :
-tmux new-session -d -s path-extractor "
-    ~/bin/pe < /tmp/tmux-buffer
-    tmux detach
-    sleep 20
-"
+tmux new-session -d -s path-extractor "pe < /tmp/tmux-buffer ; tmux detach"
 tmux set-option -t path-extractor status off
 exec tmux attach-session -t path-extractor