Skip to content
Myr

[fzf-tmux] Fix issues on tmux 1.8

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

authored by Junegunn Choi · committed by Junegunn Choi · parent c0652ad · Browse files · 2 files+9 added−6 removed
This commit

State

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

Diff stats

2 files+9 added−6 removed

  • other:+9 added−6 removed

2 files+9 added−6 removed

modified:.github/ISSUE_TEMPLATE.md+1 added
modified:bin/fzf-tmux+8 added-6 removed
138 unmodified lines
139done140141if [ -n "$term" -o -t 0 ]; then142 cat <<< "$fzf $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf143 tmux set-window-option synchronize-panes off 2> /dev/null \;\144 set-window-option remain-on-exit off 2> /dev/null \;\145 split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap143 tmux set-window-option synchronize-panes off \;\144 set-window-option remain-on-exit off \;\145 split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap \146 2>&1 > /dev/null147else148 mkfifo $fifo1149 cat <<< "$fzf $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" > $argsf149 tmux set-window-option synchronize-panes off 2> /dev/null \;\150 set-window-option remain-on-exit off 2> /dev/null \;\151 split-window $opt "$envs bash $argsf" $swap150 tmux set-window-option synchronize-panes off \;\151 set-window-option remain-on-exit off \;\152 split-window $opt "$envs bash $argsf" $swap \153 2>&1 > /dev/null154 cat <&0 > $fifo1 &155fi156cat $fifo2157exit "$(cat $fifo3)"
1 unmodified line