From 9f953fc9440a6df9dcfc177555e0b4dd7444fd0a Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Tue, 28 Jul 2015 00:22:04 +0900 Subject: Do not use tmux pane if the current pane is zoomed Close #303 --- bin/fzf-tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/fzf-tmux b/bin/fzf-tmux index c7232882..e0fe77d6 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -82,7 +82,7 @@ while [ $# -gt 0 ]; do shift done -if [ -z "$TMUX_PANE" ]; then +if [ -z "$TMUX_PANE" ] || tmux list-panes -F '#F' | grep -q Z; then fzf "${args[@]}" exit $? fi -- cgit v1.2.3