[fzf-tmux] Fix #562 - Check $TMUX instead of $TMUX_PANE
This commit is contained in:
parent
4ab75b68dc
commit
66f86e1870
@ -83,7 +83,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if ! [ -n "$TMUX_PANE" -a $lines -gt 15 ]; then
|
if ! [ -n "$TMUX" -a "$lines" -gt 15 ]; then
|
||||||
fzf "${args[@]}"
|
fzf "${args[@]}"
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user