summaryrefslogtreecommitdiff
path: root/contrib/pass.zsh-completion
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pass.zsh-completion')
-rw-r--r--contrib/pass.zsh-completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pass.zsh-completion b/contrib/pass.zsh-completion
index bc23356..dfd0894 100644
--- a/contrib/pass.zsh-completion
+++ b/contrib/pass.zsh-completion
@@ -68,5 +68,5 @@ _pass_cmd_rm () {
}
_get_stored_pwd () {
- compadd `find ~/.password-store \( -name .git -o -name .gpg-id \) -prune -o -print | sed 's#.*/.password-store/\?##' | sed 's#\.gpg##' | sort`
+ compadd `find ~/.password-store \( -name .git -o -name .gpg-id \) -prune -o -print | sed 's#.*\.password-store*.##'| sed 's#\.gpg##' | sort`
}