Fix SC2199: Arrays implicitly concatenate in
This commit is contained in:
parent
c5612e8cd2
commit
c3f51bed6f
@ -3,7 +3,7 @@
|
||||
: ${PROG:=$(basename ${BASH_SOURCE})}
|
||||
|
||||
_cli_bash_autocomplete() {
|
||||
if [[ "${COMP_WORDS[@]:0:$COMP_CWORD}" != "source" ]]; then
|
||||
if [[ "${COMP_WORDS[0]}" != "source" ]]; then
|
||||
local cur opts base
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
|
Loading…
Reference in New Issue
Block a user