Skip to content
Myr

[fzf-tmux] Fix bash condition

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

Fix #702

authored by Junegunn Choi · committed by Junegunn Choi · parent 053af9a · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:bin/fzf-tmux+1 added-1 removed
107 unmodified lines
108 esac109 [[ -n "$skip" ]] && args+=("$arg")110done111112if [[ -z "$TMUX" ]] || [[ "$opt" =~ ^-h ]] && [[ "$columns" -le 40 ]] || [[ ! "$opt" =~ ^-h ]] && [[ "$lines" -le 15 ]]; then112if [[ -z "$TMUX" || "$opt" =~ ^-h && "$columns" -le 40 || ! "$opt" =~ ^-h && "$lines" -le 15 ]]; then113 "$fzf" "${args[@]}"114 exit $?115fi116
64 unmodified lines