]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/tmux-path-extractor.sh
path-extractor popup
[dotfiles.git] / bin / bin / tmux-path-extractor.sh
1 #!/bin/sh
2
3 tmux has-session -t path-extractor && tmux kill-session -t path-extractor || :
4 tmux new-session -d -s path-extractor "
5     ~/bin/path-extractor.zsh < /tmp/tmux-buffer
6     tmux detach
7     sleep 20
8 "
9 tmux set-option -t path-extractor status off
10 exec tmux attach-session -t path-extractor