From 43799fb7a9556546f75dede8a34fe22fb2613b4f Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 11 Feb 2018 16:41:06 -0700 Subject: [PATCH] header cache fix --- autoconf/mutt_profile | 6 +++--- mutt_install.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoconf/mutt_profile b/autoconf/mutt_profile index a868172..81709c5 100644 --- a/autoconf/mutt_profile +++ b/autoconf/mutt_profile @@ -5,9 +5,9 @@ set from = "$fulladdr" set smtp_url = "smtp://$fulladdr@$smtp:$sport/" set sendmail = "/usr/bin/msmtp -a $title" set folder = "~/.mail/$title" -set header_cache = ~/.config/mutt/$title/cache/headers -set message_cachedir = ~/.config/mutt/$title/cache/bodies -set certificate_file = ~/.config/mutt/$title/certificates +set header_cache = ~/.config/mutt/accounts/$title/cache/headers +set message_cachedir = ~/.config/mutt/accounts/$title/cache/bodies +set certificate_file = ~/.config/mutt/accounts/$title/certificates source "~/.config/mutt/credentials/getmuttpass $title |" set spoolfile = "+$spoolfile" diff --git a/mutt_install.sh b/mutt_install.sh index 95b2146..628d044 100755 --- a/mutt_install.sh +++ b/mutt_install.sh @@ -67,7 +67,7 @@ addAccount() { echo "macro index,pager i$idnum 'source "$muttdir"accounts/$title.muttrc!'" >> "$muttdir"personal.muttrc # Adding directory structure for cache. - mkdir -p "$muttdir"accounts/$title/cache/bodies "$muttdir"accounts/$title/cache/headers + mkdir -p "$muttdir"accounts/$title/cache/bodies # Add to offlineimaprc sync list. sed -i "s/^accounts =.*[a-zA-Z]$/&, $title/g;s/^accounts =$/accounts = $title/g" ~/.offlineimaprc