[fzf-tmux] Fix #562 - Check $TMUX instead of $TMUX_PANE

pull/569/merge
Junegunn Choi 8 years ago
parent 4ab75b68dc
commit 66f86e1870
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -83,7 +83,7 @@ while [ $# -gt 0 ]; do
shift
done
if ! [ -n "$TMUX_PANE" -a $lines -gt 15 ]; then
if ! [ -n "$TMUX" -a "$lines" -gt 15 ]; then
fzf "${args[@]}"
exit $?
fi

Loading…
Cancel
Save