spm

Personal fork of spm (simple password manager)
git clone git@getsh.org:spm.git
Log | Files | Refs | README | LICENSE

commit fb2f00766438b5bb2aefe0f0f1fc63bd53b12dd2
parent 98cc485fb0a7024940605b188a83a829f49edbe7
Author: nmeum <git-nmeum@8pit.net>
Date:   Thu, 14 Nov 2013 19:00:15 +0100

Make zsh completion work with custom storage directory

Diffstat:
Mzsh_completion | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh_completion b/zsh_completion @@ -18,6 +18,6 @@ _tpm() { } _tpm_complete_entries() { - local dir="${HOME}/.password-store" + local dir="${TPM_STORE_DIR:-${HOME}/.password-store}" _values -S / -C 'entries' $(find "${dir}/" $@ -print | sed -e "s^${dir}.^^" -e 's^\.gpg^^' | sort) }