]> Sergey Matveev's repositories - dotfiles.git/blob - bin/bin/tmux-common.sh
Huge tmux-fzf simplification with files quoting
[dotfiles.git] / bin / bin / tmux-common.sh
1 TMUX=/usr/local/bin/tmux
2
3 paste()
4 {
5     local pane="$1"
6     local cmd="$2"
7     $TMUX set-buffer "$cmd"
8     $TMUX paste-buffer -t "$pane"
9     $TMUX delete-buffer
10     $TMUX send-keys -t "$pane" Enter
11 }