diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 1c17921..dd335d2 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -109,7 +109,7 @@ while [[ $# -gt 0 ]]; do [[ -n "$skip" ]] && args+=("$arg") done -if [[ -z "$TMUX" ]] || [[ "$opt" =~ ^-h ]] && [[ "$columns" -le 40 ]] || [[ ! "$opt" =~ ^-h ]] && [[ "$lines" -le 15 ]]; then +if [[ -z "$TMUX" || "$opt" =~ ^-h && "$columns" -le 40 || ! "$opt" =~ ^-h && "$lines" -le 15 ]]; then "$fzf" "${args[@]}" exit $? fi