diff options
Diffstat (limited to 'bash/bash_completion.d/find.bash')
-rw-r--r-- | bash/bash_completion.d/find.bash | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bash_completion.d/find.bash b/bash/bash_completion.d/find.bash index 007a83bd..7e2ae9c3 100644 --- a/bash/bash_completion.d/find.bash +++ b/bash/bash_completion.d/find.bash @@ -30,7 +30,7 @@ _find() { local item while read -r item ; do [[ -n $item ]] || continue - COMPREPLY[${#COMPREPLY[@]}]=$item + COMPREPLY+=("$item") done < <( # If the word being completed starts with a dash, just complete it as @@ -64,7 +64,7 @@ _find() { # Otherwise, look at the word *before* this one to figure out what to # complete - case "${COMP_WORDS[COMP_CWORD-1]}" in + case ${COMP_WORDS[COMP_CWORD-1]} in # Args to -exec and -execdir should be commands (-exec|-execdir) |