From 7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6 Mon Sep 17 00:00:00 2001 From: Marvin Killing Date: Sat, 23 Feb 2013 00:27:08 +0100 Subject: Tree should follow symlinks. Make show/ls/list follow links by passing -l to tree. --- src/password-store.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/password-store.sh b/src/password-store.sh index 26a4bd0..99010e9 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -213,7 +213,7 @@ case "$command" in else echo "${path%\/}" fi - tree --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' + tree -l --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' else passfile="$PREFIX/$path.gpg" if [[ ! -f $passfile ]]; then -- cgit v1.2.3