From 22b089e47ec58cb459d5129f0ab98cf3ce86ab45 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 31 Aug 2016 14:20:29 +0900 Subject: [PATCH] Revert "Unset TMUX before splitting window" (#648) This reverts commit 4d4447779fe4c3ff05c2e6809c1b0c5d754d9772. --- bin/fzf-tmux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index f6742e49..c7701e95 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -161,14 +161,14 @@ done if [[ -n "$term" ]] || [[ -t 0 ]]; then cat <<< "\"$fzf\" $opts > $fifo2; echo \$? > $fifo3 $close" > $argsf - TMUX='' tmux set-window-option synchronize-panes off \;\ + tmux set-window-option synchronize-panes off \;\ set-window-option remain-on-exit off \;\ 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='' tmux set-window-option synchronize-panes off \;\ + tmux set-window-option synchronize-panes off \;\ set-window-option remain-on-exit off \;\ split-window $opt "$envs bash $argsf" $swap \ > /dev/null 2>&1