m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Killing <marvinkilling@gmail.com>2013-02-23 00:27:08 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-02-23 02:10:16 +0100
commit7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6 (patch)
tree4a68643e470d3a2354b751c08090a7615fdb6db8
parenta9f34015d3121cfcdfdae3bba69f25a7460520b5 (diff)
Tree should follow symlinks.
Make show/ls/list follow links by passing -l to tree.
-rwxr-xr-xsrc/password-store.sh2
1 files changed, 1 insertions, 1 deletions
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