diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-28 00:22:04 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-07-28 00:22:04 +0900 |
commit | 9f953fc9440a6df9dcfc177555e0b4dd7444fd0a (patch) | |
tree | 3d5d2d5054aa6ee63f1d7444b7665b3a72018390 /bin | |
parent | 909ea1a698e9021fbae3366b1e71ba12f0dd7270 (diff) |
Do not use tmux pane if the current pane is zoomed
Close #303
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fzf-tmux | 2 |
1 files changed, 1 insertions, 1 deletions
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 |