X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=bin%2Fbin%2Ftmux-path-extractor.sh;h=ed2cebcf8c54a52baa3e607f4b5ba61ecabfff2a;hb=327ed850256befcca102eb1a1cf1d28675a733cc;hp=4375c598b2d149687cf9f53fdaa40032f99dda98;hpb=3d5975f24c8913da9d903b94c5beeacd2e9846e1;p=dotfiles.git diff --git a/bin/bin/tmux-path-extractor.sh b/bin/bin/tmux-path-extractor.sh index 4375c59..ed2cebc 100755 --- a/bin/bin/tmux-path-extractor.sh +++ b/bin/bin/tmux-path-extractor.sh @@ -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 -c "$1" "pe < /tmp/tmux-buffer ; tmux detach" tmux set-option -t path-extractor status off exec tmux attach-session -t path-extractor