Revert "Change tmux pane title for fzf splits"

This reverts commit f074709fc9.

Close #586. /cc @akashin
This commit is contained in:
Junegunn Choi 2016-06-03 12:02:21 +09:00
parent 412c211655
commit cfc0b18eaa
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -144,14 +144,14 @@ if [ -n "$term" -o -t 0 ]; then
cat <<< "$fzf $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf
tmux set-window-option synchronize-panes off \;\
set-window-option remain-on-exit off \;\
split-window $opt "printf '\033]2;fzf\033\\'; cd $(printf %q "$PWD");$envs bash $argsf" $swap \
split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap \
> /dev/null 2>&1
else
mkfifo $fifo1
cat <<< "$fzf $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" > $argsf
tmux set-window-option synchronize-panes off \;\
set-window-option remain-on-exit off \;\
split-window $opt "printf '\033]2;fzf\033\\'; $envs bash $argsf" $swap \
split-window $opt "$envs bash $argsf" $swap \
> /dev/null 2>&1
cat <&0 > $fifo1 &
fi