diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-05 21:16:52 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-10-05 21:17:11 +0200 |
commit | d97313ca3297f65a246093c61bd207ec7bd99b85 (patch) | |
tree | eea7154f2c4fbacbacd8e233a5798bbd8690041f /src | |
parent | 79ab27e1622220001dc73b19a2e80df465958448 (diff) | |
download | pass-d97313ca3297f65a246093c61bd207ec7bd99b85.tar.gz pass-d97313ca3297f65a246093c61bd207ec7bd99b85.tar.bz2 pass-d97313ca3297f65a246093c61bd207ec7bd99b85.zip |
Trim trailing slash in tree display.
Diffstat (limited to 'src')
-rwxr-xr-x | src/password-store.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/password-store.sh b/src/password-store.sh index 8afc67e..55ed86e 100755 --- a/src/password-store.sh +++ b/src/password-store.sh @@ -211,7 +211,7 @@ case "$command" in if [[ -z $path ]]; then echo "Password Store" else - echo $path + echo "${path%\/}" fi tree --noreport "$PREFIX/$path" | tail -n +2 | sed 's/\(.*\)\.gpg$/\1/' else |