From f5af7eb4180ccf22af49669fb656a2d95bd1b4f6 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 26 Aug 2023 16:07:00 -0400 Subject: [PATCH] Ignoring .gpg in output for base directory aswell --- pass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pass b/pass index ea202d2..01dfc94 100755 --- a/pass +++ b/pass @@ -53,7 +53,7 @@ menu() { while : do if [ $cwd = $PASS_DIR ]; then - cmd=$(ls -p $cwd | dmenu -l 5 "$@") + cmd=$(ls -p $cwd | sed 's/\.gpg$//' | dmenu -l 5 "$@") else cmd=$({ echo ".."; ls -p $cwd | sed 's/\.gpg$//'; } | dmenu -l 5 "$@") fi