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

This commit is contained in:
Junegunn Choi
2016-05-11 22:07:33 +09:00
parent 4ab75b68dc
commit 66f86e1870

View File

@@ -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