diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 1dc2a04a..3233bd54 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -179,7 +179,7 @@ pppid=$$ echo -n "trap 'kill -SIGUSR1 -$pppid' EXIT SIGINT SIGTERM;" > $argsf close="; trap - EXIT SIGINT SIGTERM $close" -tmux_win_opts=( $(tmux show-window-options remain-on-exit \; show-window-options synchronize-panes | sed 's/^/set-window-option /; s/$/ \\;/') ) +tmux_win_opts=( $(tmux show-window-options remain-on-exit \; show-window-options synchronize-panes | sed '/ off/d; s/^/set-window-option /; s/$/ \\;/') ) if [[ -n "$term" ]] || [[ -t 0 ]]; then cat <<< "\"$fzf\" $opts > $fifo2; echo \$? > $fifo3 $close" >> $argsf