fix(completions/tmux): fix syntax

Regression introduced by commit 52987b3d.  This is a typo.  The reason
that it slipped off checking was because the syntax "if (()) then"
became valid in Bash 5.2, and it was tested using Bash 5.3-alpha.
This commit is contained in:
Koichi Murase 2024-08-27 22:57:01 +09:00
parent c57a5fbeca
commit a3ea82a5be

View File

@ -66,7 +66,7 @@ function _tmux {
# Search for the command
local skip_next=0
for ((i = 1; i <= COMP_CWORD; i++)); do
if ((skip_next == 1)) then
if ((skip_next == 1)); then
#echo "Skipping"
skip_next=0;
elif [[ ${COMP_WORDS[i]} != -* ]]; then