2
0
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:
Junegunn Choi 2016-05-11 22:07:33 +09:00
parent 4ab75b68dc
commit 66f86e1870
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

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