pash: Add TODO about .gpg removal from list output

This commit is contained in:
Dylan Araps 2019-11-30 15:07:39 +00:00
parent 988755057d
commit 86d72380ba
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 5 additions and 1 deletions

6
pash
View File

@ -209,8 +209,12 @@ 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" ;;
# TODO: Better handle the removal
# of '.gpg' from list output.
l*) pw_list | sed 's/\.gpg$//' ;; l*) pw_list | sed 's/\.gpg$//' ;;
t*) pw_tree ;; t*) pw_tree | sed 's/\.gpg$//' ;;
*) usage *) usage
esac esac
} }