aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_completion.d/find.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bash_completion.d/find.bash')
-rw-r--r--bash/bash_completion.d/find.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bash_completion.d/find.bash b/bash/bash_completion.d/find.bash
index 007a83bd..85cadfaf 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