mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-09-21 02:17:11 +00:00
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:
parent
c57a5fbeca
commit
a3ea82a5be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user