mutt-wizard

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

commit 7f007a7aab412231db258060a30ce0a837f80949
parent cc4f01090f1e35cda9cf279fd9ef54d387bab1f7
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Fri, 19 Apr 2019 19:20:20 -0400

remove msbync profile for online accounts after -l

Diffstat:
Mmw | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/mw b/mw @@ -188,6 +188,7 @@ trysync() { \ else printf "\033[31m\033[31mSync not successful.\033[0m Try running \`mbsync %s\` manually after double-checking your password and server settings.\\nThen select to finalize the account.\\n" "$title"; return 1 fi + [ "$accounttype" = "online" ] && sed -i "/IMAPStore $title-remote$/,/# End profile/d" "$mbsyncrc" } finalize() { \