mutt-wizard

A wizard that autocreates an offline email setup for (neo)mutt with isync/mbsync
Log | Files | Refs | README | LICENSE

commit d1e7f448df511feea45f3d38640ecc043576c987
parent b3974d3191e206ab842ca91b21c47e9b9e88a1bc
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Tue, 16 Apr 2019 11:09:04 -0400

finalize no longer independently runnable

Diffstat:
Mmw | 10++++------
1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/mw b/mw @@ -336,9 +336,8 @@ EOF What would you like \033[32mmutt-wizard\033[0m to do? 1 Add an email account - 2 Autodetect mailboxes - 3 Change an account's password - 4 Remove an account + 2 Change an account's password + 3 Remove an account 5 Change GPG key pair used for encryption 6 Delete all account data 7 Enable/disable autosync @@ -349,9 +348,8 @@ Input a number to continue or press ctrl-c.\\n" printf "\033[0m" case "$choice" in 1) addtype ;; - 2) pick finalize && finalize ;; - 3) pick "change the password of" && confirm "change the password of" && getpass ;; - 4) pick delete && confirm "delete the \`$title\` profile" && delete ;; + 2) pick "change the password of" && confirm "change the password of" && getpass ;; + 3) pick delete && confirm "delete the \`$title\` profile" && delete ;; 5) askgpg ;; 6) confirm "delete all account data" && wipe && rm -ri "$mbsyncrc" "$accdir" "$creddir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;; 7) choosecron ;;