Skip to content
Myr

Merge pull request #582 from akashin/master

Before adoption: this commit came in with the history the project adopted, so no landing records it.

[fzf-tmux] Change tmux pane title for fzf splits

authored by Junegunn Choi · committed by Junegunn Choi · parents e0b29e4, f074709 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:bin/fzf-tmux+2 added-2 removed
142 unmodified lines
143if [ -n "$term" -o -t 0 ]; then144 cat <<< "$fzf $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf145 tmux set-window-option synchronize-panes off \;\146 set-window-option remain-on-exit off \;\147 split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap \147 split-window $opt "printf '\033]2;fzf\033\\'; cd $(printf %q "$PWD");$envs bash $argsf" $swap \148 > /dev/null 2>&1149else150 mkfifo $fifo1151 cat <<< "$fzf $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" > $argsf152 tmux set-window-option synchronize-panes off \;\153 set-window-option remain-on-exit off \;\154 split-window $opt "$envs bash $argsf" $swap \154 split-window $opt "printf '\033]2;fzf\033\\'; $envs bash $argsf" $swap \155 > /dev/null 2>&1156 cat <&0 > $fifo1 &157fi158cat $fifo2
2 unmodified lines