summaryrefslogtreecommitdiffstats
path: root/bin/fzf-tmux
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fzf-tmux')
-rwxr-xr-xbin/fzf-tmux4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux
index c7701e95..f6742e49 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 set-window-option synchronize-panes off \;\
+ TMUX='' 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 set-window-option synchronize-panes off \;\
+ TMUX='' 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