summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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