password-store

Simple password manager using gpg and ordinary unix directories
git clone https://git.zx2c4.com/password-store
Log | Files | Refs | README | LICENSE

commit 075c8da06b8df6da8dc98cbf558047857b40c0b7
parent f861fe5f91dbd8069e05b2ade3dfab996bb37019
Author: Jason A. Donenfeld <Jason@zx2c4.com>
Date:   Thu,  6 Sep 2012 19:41:05 +0200

Use --noreport instead of head -n -2 for tree so that it works on mac.

Reported-by: Theo Belaire <tbelaire@uwaterloo.ca>

Diffstat:
Msrc/password-store.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/password-store.sh b/src/password-store.sh @@ -121,7 +121,7 @@ case "$command" in else echo $path fi - tree "$PREFIX/$path" | tail -n +2 | head -n -2 | sed 's/\(.*\)\.gpg$/\1/'; + tree --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' else passfile="$PREFIX/$path.gpg" if ! [[ -f $passfile ]]; then