m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 00:03:39 -05:00

Do not use tmux pane if the current pane is zoomed

Close #303
This commit is contained in:
Junegunn Choi
2015-07-28 00:22:04 +09:00
parent 909ea1a698
commit 9f953fc944
2 changed files with 3 additions and 2 deletions

View File

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