aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/pass.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/pass.bash')
-rw-r--r--bash/bashrc.d/pass.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/pass.bash b/bash/bashrc.d/pass.bash
index 348978ca..cc323086 100644
--- a/bash/bashrc.d/pass.bash
+++ b/bash/bashrc.d/pass.bash
@@ -15,7 +15,7 @@ _pass()
# doesn't seem to do this properly with a null delimiter)
local entry
while IFS= read -d '' -r entry ; do
- COMPREPLY=("${COMPREPLY[@]}" "$entry")
+ COMPREPLY[${#COMPREPLY[@]}]=$entry
done < <(
# Set shell options to expand globs the way we expect