Skip to content
Myr

Merge pull request #654 from qiemem/fix-tmux-groups-dont-break-sockets

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

[fzf-tmux] Make fzf target correct session in group

authored by Junegunn Choi · committed by GitHub · parents 22b089e, 9baf7c4 · 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
159 unmodified lines
160done161162if [[ -n "$term" ]] || [[ -t 0 ]]; then163 cat <<< "\"$fzf\" $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf164 tmux set-window-option synchronize-panes off \;\164 TMUX=$(echo $TMUX | cut -d , -f 1,2) tmux set-window-option synchronize-panes off \;\165 set-window-option remain-on-exit off \;\166 split-window $opt "cd $(printf %q "$PWD");$envs bash $argsf" $swap \167 > /dev/null 2>&1168else169 mkfifo $fifo1170 cat <<< "\"$fzf\" $opts < $fifo1 > $fifo2; echo \$? > $fifo3 $close" > $argsf171 tmux set-window-option synchronize-panes off \;\171 TMUX=$(echo $TMUX | cut -d , -f 1,2) tmux set-window-option synchronize-panes off \;\172 set-window-option remain-on-exit off \;\173 split-window $opt "$envs bash $argsf" $swap \174 > /dev/null 2>&1175 cat <&0 > $fifo1 &
4 unmodified lines