mutt-wizard

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

commit a799ffb1577e22f81cd55b7eda2b34e87708d621
parent 4ef7bc58eb8a743e8793edceaca8b0d506cb21b3
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Wed, 17 Apr 2019 15:42:00 -0400

big fix

Diffstat:
Mmw | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mw b/mw @@ -174,7 +174,7 @@ EOF echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source $accdir/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir/personal.muttrc" ! grep "^source.*.muttrc" "$muttdir/personal.muttrc" >/dev/null && echo "source $accdir/$title.muttrc" >> "$muttdir/personal.muttrc" trysync && finalize - [ "$accounttype" = "offline" ] && sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc" + [ "$accounttype" = "offline" ] || sed -i "/IMAPAccount $title$/,/# End profile/d" "$mbsyncrc" } getpass() { \