pash: strip .gpg from list items

This commit is contained in:
Dylan Araps 2019-11-28 18:58:19 +00:00
parent d857427803
commit 7880e03108
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
pash
View File

@ -179,7 +179,7 @@ main() {
c*) pw_copy "$2" ;; c*) pw_copy "$2" ;;
d*) pw_del "$2" ;; d*) pw_del "$2" ;;
s*) pw_show "$2" ;; s*) pw_show "$2" ;;
l*) pw_list ;; l*) pw_list | sed 's/\.gpg$//' ;;
*) usage *) usage
esac esac
} }