[fzf-tmux] Fix 'empty command' error on tmux 3.2

Fix #3474
This commit is contained in:
Junegunn Choi 2023-10-13 20:13:28 +09:00
parent 7e89458a3b
commit de7ef7eace
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

View File

@ -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