Skip to content
Myr

[fish] __fzfcmd: Don't set FZF_TMUX

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

The FZF_TMUX variable check has already been changed from numeric to string, so there is no need to set it to 0 if it's empty or undefined.

authored by bitraid · committed by Junegunn Choi · parent 16bfb2c · Browse files · 1 file+1 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+1 added−2 removed

  • other:+1 added−2 removed

1 file+1 added−2 removed

modified:shell/key-bindings.fish+1 added-2 removed
107 unmodified lines
108 commandline -f repaint109 end110111 function __fzfcmd112 test -n "$FZF_TMUX"; or set FZF_TMUX 0113 test -n "$FZF_TMUX_HEIGHT"; or set FZF_TMUX_HEIGHT 40%112 test -n "$FZF_TMUX_HEIGHT"; or set -l FZF_TMUX_HEIGHT 40%113 if test -n "$FZF_TMUX_OPTS"114 echo "fzf-tmux $FZF_TMUX_OPTS -- "115 else if test "$FZF_TMUX" = "1"116 echo "fzf-tmux -d$FZF_TMUX_HEIGHT -- "
84 unmodified lines