From 83b603390683d49ff75b72d142b4dba4b5186d73 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 10 May 2024 01:40:56 +0900 Subject: Add --tmux option to replace fzf-tmux script --- bin/fzf-tmux | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/fzf-tmux b/bin/fzf-tmux index e66dcda5..71369737 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -132,8 +132,10 @@ if [[ -z "$TMUX" ]]; then exit $? fi -# --height option is not allowed. CTRL-Z is also disabled. -args=("${args[@]}" "--no-height" "--bind=ctrl-z:ignore") +# * --height option is not allowed +# * CTRL-Z is also disabled +# * fzf-tmux script is not compatible with --tmux option in fzf 0.53.0 or later +args=("${args[@]}" "--no-height" "--bind=ctrl-z:ignore" "--no-tmux") # Handle zoomed tmux pane without popup options by moving it to a temp window if [[ ! "$opt" =~ "-E" ]] && tmux list-panes -F '#F' | grep -q Z; then -- cgit v1.2.3