From de7ef7eacedc152bdbd78ab13db797dfe8a4b6ed Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 13 Oct 2023 20:13:28 +0900 Subject: [PATCH] [fzf-tmux] Fix 'empty command' error on tmux 3.2 Fix #3474 --- bin/fzf-tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fzf-tmux b/bin/fzf-tmux index 17d6c874..003fbdb1 100755 --- a/bin/fzf-tmux +++ b/bin/fzf-tmux @@ -162,7 +162,7 @@ cleanup() { \rm -f $argsf $fifo1 $fifo2 $fifo3 # Restore tmux window options - if [[ "${#tmux_win_opts[@]}" -gt 0 ]]; then + if [[ "${#tmux_win_opts[@]}" -gt 1 ]]; then eval "tmux ${tmux_win_opts[*]}" fi