mutt-wizard

Autoconfigure a terminal email setup with mutt and offline mail
Log | Files | Refs | README | LICENSE

commit d90b668d4e2d37295022ddcbaa9536a4bbbfe16d
parent bc3ea20a0605c38a076d129702a80e1892c99145
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Thu,  4 Jun 2020 18:47:13 -0400

fix #452

Diffstat:
Mbin/mw | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/mw b/bin/mw @@ -137,7 +137,7 @@ fi askinfo() { \ printf "Insert the \033[31memail address\033[0m that you want to autoconfigure for mutt/mbsync\\n\tEmail: \033[36m" read -r fulladdr - keyid=$( gpg --list-keys --with-colons "$fulladdr" | awk -F: '/^pub:/ { print $5 }') + keyid=$("$GPG" --list-keys --with-colons "$fulladdr" | awk -F: '/^pub:/ { print $5 }') printf "\033[0m" while ! echo "$fulladdr" | grep "$emailre" >/dev/null; do printf "That is not a valid \033[31memail address\033[0m, please retype the desired email.\\n\\nEmail: \033[36m\t"