]> Sergey Matveev's repositories - dotfiles.git/blobdiff - bin/bin/tmux-path-extractor.sh
Workable preview in tmux-path-extractor
[dotfiles.git] / bin / bin / tmux-path-extractor.sh
index 162f0bb0353c270c20f41fc1e3e651c825957d00..ed2cebcf8c54a52baa3e607f4b5ba61ecabfff2a 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
 tmux has-session -t path-extractor && tmux kill-session -t path-extractor || :
-tmux new-session -d -s path-extractor "pe < /tmp/tmux-buffer ; tmux detach"
+tmux new-session -d -s path-extractor -c "$1" "pe < /tmp/tmux-buffer ; tmux detach"
 tmux set-option -t path-extractor status off
 exec tmux attach-session -t path-extractor