summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-23 19:42:59 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-23 19:42:59 -0400
commit47d78eaeb424aace56ff717b1232af887794b3d6 (patch)
tree3873bd9c4bd929c3bcb262bd4ade40595b602dfb
parent3bf0c0fca01af1f9da12c3ed4113c625aa2da891 (diff)
box content detected on account switch
-rwxr-xr-xmutt-wizard.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mutt-wizard.sh b/mutt-wizard.sh
index 8b88efd..31b1514 100755
--- a/mutt-wizard.sh
+++ b/mutt-wizard.sh
@@ -202,7 +202,7 @@ addAccount() {
# Add the mutt profile.
cat "$muttdir"autoconf/mutt_profile | sed -e "$replacement" > "$muttdir"accounts/$title.muttrc
# Add a numbered shortcut in the muttrc
- echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source "$muttdir"accounts/$title.muttrc<enter><change-folder>!<enter>'" >> "$muttdir"personal.muttrc
+ echo "macro index,pager i$idnum '<sync-mailbox><enter-command>source "$muttdir"accounts/$title.muttrc<enter><change-folder>!<enter>;<check-stats>'" >> "$muttdir"personal.muttrc
# Add to offlineimaprc sync list.
sed -i.bu "s/^accounts =.*[a-zA-Z]$/&, $title/g;s/^accounts =\s*$/accounts = $title/g" ~/.offlineimaprc && rm ~/.offlineimaprc.bu