diff options
Diffstat (limited to 'bash/bashrc.d/mysql.bash')
-rw-r--r-- | bash/bashrc.d/mysql.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/mysql.bash b/bash/bashrc.d/mysql.bash index 9efe3795..e967e3b0 100644 --- a/bash/bashrc.d/mysql.bash +++ b/bash/bashrc.d/mysql.bash @@ -35,7 +35,7 @@ _mysql() { # Return the names of the .cnf files sans prefix as completions local db while IFS= read -d '' -r db ; do - COMPREPLY=("${COMPREPLY[@]}" "$db") + COMPREPLY[${#COMPREPLY[@]}]=$db done < <( # Set options so that globs expand correctly |