summaryrefslogtreecommitdiff
path: root/src/password-store.sh
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 /src/password-store.sh
parenta9f34015d3121cfcdfdae3bba69f25a7460520b5 (diff)
downloadpass-7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6.tar.gz
pass-7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6.tar.bz2
pass-7ff656179de5ab3b526dbf5a372ecdfcb0d7fab6.zip
Tree should follow symlinks.
Make show/ls/list follow links by passing -l to tree.
Diffstat (limited to 'src/password-store.sh')
-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