diff options
author | David Michael <david.michael@meredith.com> | 2012-09-10 15:48:00 -0500 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-10 23:39:28 +0200 |
commit | c89eda08a12a20bb9b8aebb36bddcf929f2ca97f (patch) | |
tree | ba03d003cbbd3d2193fa4589c82f0a6c24b93dbd /contrib/pass.zsh-completion | |
parent | 0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4 (diff) | |
download | pass-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 '')
-rw-r--r-- | contrib/pass.zsh-completion | 2 |
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` } |