Skip to content
Snippets Groups Projects
Unverified Commit 66f86e18 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

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

parent 4ab75b68
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment