summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-04-21 21:54:55 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-04-21 21:54:55 -0400
commit82278e39af76777f470ad249cb23b10a9be7300a (patch)
tree7e2b9c390c52ea01b32f0f68d71f07e6a7f081d4
parenta947bffeba14c7f724b6c16757a6732d4eba420b (diff)
msmtprc removed on purge
-rwxr-xr-xbin/mw7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/mw b/bin/mw
index 055be6a..f767e53 100755
--- a/bin/mw
+++ b/bin/mw
@@ -279,11 +279,11 @@ case "$1" in
add) asktype && askinfo && tryconnect && finalize ;;
pass) pick "change the password of" && getpass ;;
delete) pick delete && confirm "delete the \`$title\` profile" && delete ;;
- purge) confirm "delete all account data" && rm -rf "$mbsyncrc" "$accdir" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;;
+ purge) confirm "delete all account data" && rm -rf "$mbsyncrc" "$accdir" "$HOME/.config/msmtp" "$muttdir/personal.muttrc" && echo "All configs and account settings have been purged." ;;
cron) choosecron ;;
*) cat << EOF
mw: mutt-wizard, auto-configure email accounts for mutt
-and
+including downloadable mail with \`isync\`.
Allowed options:
init Run once and first to copy required files
@@ -293,6 +293,9 @@ Allowed options:
purge Delete all accounts and settings
cron Enable or disable an autosync via cronjob
all else Print this message
+
+NOTE: Once at least one account is added, you can run
+\`mbsync -a\` to begin downloading mail.
EOF
esac