diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-13 20:13:28 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-10-13 20:13:28 +0900 |
commit | de7ef7eacedc152bdbd78ab13db797dfe8a4b6ed (patch) | |
tree | 842062e5032012360cd22e2ad53de74f115db9d1 | |
parent | 7e89458a3b58c047c10494a5cb53d921fb08b4f3 (diff) |
[fzf-tmux] Fix 'empty command' error on tmux 3.2
Fix #3474
-rwxr-xr-x | bin/fzf-tmux | 2 |
1 files changed, 1 insertions, 1 deletions
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 |