From c89eda08a12a20bb9b8aebb36bddcf929f2ca97f Mon Sep 17 00:00:00 2001 From: David Michael Date: Mon, 10 Sep 2012 15:48:00 -0500 Subject: Modifying zsh completion to work with OS X home dir location and sed --- contrib/pass.zsh-completion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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` } -- cgit v1.2.3