From 66f86e18700f08daa20404d212021da412800d53 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 11 May 2016 22:07:33 +0900 Subject: [PATCH] [fzf-tmux] Fix #562 - Check $TMUX instead of $TMUX_PANE --- bin/fzf-tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 8b04c5b..a164a62 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -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