From ff2a29fb03043e97736968a8b7fa748b0ec98a54 Mon Sep 17 00:00:00 2001 From: F123 Date: Mon, 13 Aug 2018 14:44:22 -0400 Subject: [PATCH] still using select in for multiple keys. This shouldn't be a problem, and I'm not sure it would work right with dialog. --- fleacollar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fleacollar.sh b/fleacollar.sh index 59df5e3..06e4aa8 100755 --- a/fleacollar.sh +++ b/fleacollar.sh @@ -119,7 +119,7 @@ initialize_directory() read -p "$(gettext "No gpg key was found. Type your name and press entr to quickly generate a PGP key.control+c if you would like to create it manually.") " continue gpg --quick-gen-key "${continue:-${USER}}" fi - echo "$(gettext "Select the key you want to use for encryption/signing:")" + PS3="$(gettext "Select the key you want to use for encryption/signing:")" select key in $(gpg --list-secret-keys | grep '.*@.*' | cut -d '<' -f2 | cut -d '>' -f1) ; do if [[ -n "$key" ]]; then break