m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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