[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
|
||||
done
|
||||
|
||||
if ! [ -n "$TMUX_PANE" -a $lines -gt 15 ]; then
|
||||
if ! [ -n "$TMUX" -a "$lines" -gt 15 ]; then
|
||||
fzf "${args[@]}"
|
||||
exit $?
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user