mirror of
https://github.com/junegunn/fzf
synced 2024-11-14 18:12:53 +00:00
[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…
Reference in New Issue
Block a user