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