summaryrefslogtreecommitdiffstats
path: root/bin/fzf-tmux
diff options
context:
space:
mode:
Diffstat (limited to 'bin/fzf-tmux')
-rwxr-xr-xbin/fzf-tmux2
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