aboutsummaryrefslogtreecommitdiff
path: root/.mutt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.mutt/accounts.rc3
-rw-r--r--.muttrc3
2 files changed, 6 insertions, 0 deletions
diff --git a/.mutt/accounts.rc b/.mutt/accounts.rc
index 6a11873..4593a95 100644
--- a/.mutt/accounts.rc
+++ b/.mutt/accounts.rc
@@ -54,6 +54,8 @@ set pager_format = '-%Z-RAK.AC: %C/%m: %-20.20n %s';\
set compose_format = '-- RAK.AC: Compose [Approx. msg size: %l Atts: %a]%>-';\
set status_format = '-%r-RAK.AC: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'"
+# Sources cmu aliases to override any personal variants already loaded in
+# ~/.muttrc
account-hook imaps://rkavanag@andrew.cmu.edu@imap.gmail.com \
"set imap_user = 'rkavanag@andrew.cmu.edu';\
set imap_pass = 'CMU_PASS';\
@@ -68,6 +70,7 @@ set record = '=[Gmail]/Sent Mail';\
set copy = 'no';\
unset smtp_url;\
unset smtp_pass;\
+source "~/.mutt/alias-cmu.rc";\
set pager_format = '-%Z-CMU: %C/%m: %-20.20n %s';\
set compose_format = '-- CMU: Compose [Approx. msg size: %l Atts: %a]%>-';\
set status_format = '-%r-CMU: %f [Msgs:%?M?%M/?%m%?n? New:%n?%?o? Old:%o?%?d? Del:%d?%?F? Flag:%F?%?t? Tag:%t?%?p? Post:%p?%?b? Inc:%b?%?l? %l?]---(%s/%S)-%>-(%P)---'"
diff --git a/.muttrc b/.muttrc
index 09c1d26..7613109 100644
--- a/.muttrc
+++ b/.muttrc
@@ -129,6 +129,9 @@ set sendmail="sendmail -oem -oi"
# to unset the folder option
unset folder
source ~/.mutt/accounts.rc
+# load alias-cmu.rc before alias.rc so that alias.rc overrides any aliases
+# in all accounts apart from SCS. The SCS account hook reloads alias-cmu.rc
+# afterwards
source ~/.mutt/alias-cmu.rc
source ~/.mutt/alias.rc
source ~/.mutt/mailinglists.rc