summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2024-05-10 01:40:56 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2024-05-18 17:08:36 +0900
commit83b603390683d49ff75b72d142b4dba4b5186d73 (patch)
tree103394f2ffab559d08528ed50a342f80c61d392b /bin
parent01e7668915c4e3cf8c9eeca283d41beac924fe1f (diff)
Add --tmux option to replace fzf-tmux script
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fzf-tmux6
1 files changed, 4 insertions, 2 deletions
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