options cleanup

This commit is contained in:
Luke Smith 2019-04-19 18:56:23 -04:00
parent cc6b3b0e6f
commit 213a9f4f78
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

10
mw
View File

@ -299,9 +299,8 @@ What would you like \033[32mmutt-wizard\033[0m to do?
1 Add an email account 1 Add an email account
2 Change an account's password 2 Change an account's password
3 Remove an account 3 Remove an account
4 Change GPG key pair used for encryption 4 Purge all account data
5 Delete all account data 5 Enable/disable autosync
6 Enable/disable autosync
0 Exit 0 Exit
Input a number to continue or press ctrl-c.\\n" Input a number to continue or press ctrl-c.\\n"
printf "\033[36m\t" printf "\033[36m\t"
@ -311,9 +310,8 @@ Input a number to continue or press ctrl-c.\\n"
1) addtype ;; 1) addtype ;;
2) pick "change the password of" && confirm "change the password of" && getpass ;; 2) pick "change the password of" && confirm "change the password of" && getpass ;;
3) pick delete && confirm "delete the \`$title\` profile" && delete ;; 3) pick delete && confirm "delete the \`$title\` profile" && delete ;;
4) askgpg ;; 4) confirm "delete all account data" && rm -ri "$mbsyncrc" "$accdir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;;
5) confirm "delete all account data" && rm -ri "$mbsyncrc" "$accdir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;; 5) choosecron ;;
6) choosecron ;;
0) break ;; 0) break ;;
*) printf "Invalid input.\\n" *) printf "Invalid input.\\n"
esac esac