This commit is contained in:
Luke Smith 2019-04-17 15:42:00 -04:00
parent 4ef7bc58eb
commit a799ffb157
No known key found for this signature in database
GPG Key ID: 4C50B54A911F6252

2
mw
View File

@ -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() { \