pass

- posix password manager
git clone git://git.acid.vegas/pass.git
Log | Files | Refs | Archive | README | LICENSE

commit f5af7eb4180ccf22af49669fb656a2d95bd1b4f6
parent 6f2a8935fa90c079833d30a42d7ae83126614c3b
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sat, 26 Aug 2023 16:07:00 -0400

Ignoring .gpg in output for base directory aswell

Diffstat:
Mpass | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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