commit c89eda08a12a20bb9b8aebb36bddcf929f2ca97f parent 0dfa85e3dbbe40e2f7fa11c749bea3253492e9b4 Author: David Michael <david.michael@meredith.com> Date: Mon, 10 Sep 2012 15:48:00 -0500 Modifying zsh completion to work with OS X home dir location and sed Diffstat:
M | contrib/pass.zsh-completion | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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` }