summaryrefslogtreecommitdiff
path: root/src/completion/pass.zsh-completion
diff options
context:
space:
mode:
Diffstat (limited to 'src/completion/pass.zsh-completion')
-rw-r--r--src/completion/pass.zsh-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/completion/pass.zsh-completion b/src/completion/pass.zsh-completion
index 4c7548c..2f8a2b9 100644
--- a/src/completion/pass.zsh-completion
+++ b/src/completion/pass.zsh-completion
@@ -110,7 +110,7 @@ _pass_cmd_show () {
_pass_complete_entries_helper () {
local IFS=$'\n'
local prefix="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
- _values -C 'passwords' $(find -L "$prefix" \( -name .git -o -name .gpg-id \) -prune -o $@ -print | sed -e "s#${prefix}/\\?##" -e 's#\.gpg##' | sort)
+ _values -C 'passwords' $(find -L "$prefix" \( -name .git -o -name .gpg-id \) -prune -o $@ -print | sed -E -e "s#${prefix}/?##" -e 's#\.gpg##' | sort)
}
_pass_complete_entries_with_subdirs () {