summaryrefslogtreecommitdiff
path: root/contrib/pass.zsh-completion
diff options
context:
space:
mode:
authorDavid Michael <david.michael@meredith.com>2012-09-10 15:48:00 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2012-09-10 23:39:28 +0200
commitc89eda08a12a20bb9b8aebb36bddcf929f2ca97f (patch)
treeba03d003cbbd3d2193fa4589c82f0a6c24b93dbd /contrib/pass.zsh-completion
parent0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4 (diff)
downloadpass-c89eda08a12a20bb9b8aebb36bddcf929f2ca97f.tar.gz
pass-c89eda08a12a20bb9b8aebb36bddcf929f2ca97f.tar.bz2
pass-c89eda08a12a20bb9b8aebb36bddcf929f2ca97f.zip
Modifying zsh completion to work with OS X home dir location and sed
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`
}