aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/contrib
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
parentOnly copy the first line of the password file to the clipboard. (diff)
downloadpassword-store-c89eda08a12a20bb9b8aebb36bddcf929f2ca97f.tar.xz
password-store-c89eda08a12a20bb9b8aebb36bddcf929f2ca97f.zip
Modifying zsh completion to work with OS X home dir location and sed
Diffstat (limited to 'contrib')
-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`
}