X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.muttrc;h=4f2d0fab276694b7656e8173c9681b03f6946b62;hb=8deb745268a368664ae3e5e1e85268ea0634bbaa;hp=f5bb54a9ddce5d89d20f8cd0f9150e617ba5588f;hpb=b6741da814bb5168e4438f3305c2a810aa9abbee;p=mail.git diff --git a/.muttrc b/.muttrc index f5bb54a..4f2d0fa 100644 --- a/.muttrc +++ b/.muttrc @@ -126,7 +126,7 @@ alternates "\^(\ |(don(\\+.*)?@(.*\\.)?(rzlab|pellam)\\.ucr\\.edu)\ |(don(\\+.*)?@(.*\\.)?debian\\.org)\ |donarm(\\+.*)?@(.*\\.)?illinois\\.edu)\ -))$" # alternate usernames +)$" # alternate usernames set gecos_mask="^[^,]*" # Parse the GECOS field from passwd file. @@ -484,16 +484,14 @@ macro generic ,ad my_hdr "From: Don Armstrong " macro generic ,an my_hdr "From: Don Armstrong " ## "lists" adds a list of mailing lists addresses -## so mutt knows about these for showing them in the folder indes +## so mutt knows about these for showing them in the folder indexes ## and to allow replying to them with the command "list-reply". ## The first part of the address (up to the @) should be used here. unlists * # remove old entries first -lists `cd ~/Mail/lists && echo *` -lists `cd ~/Mail/bugs && echo *` +lists `find ~/Mail/lists ~/Mail/bugs -mindepth 1 -maxdepth 1 -type d -printf '%f '` unsubscribe * -subscribe `cd ~/Mail/lists && echo *` -subscribe `cd ~/Mail/bugs && echo *` +subscribe `find ~/Mail/lists ~/Mail/bugs -mindepth 1 -maxdepth 1 -type d -printf '%f '` ## "mailboxes" defines the list of folders to be checked for new mail ## Mutt both can show the number of mailboxes with new mail in the index and @@ -504,8 +502,8 @@ mailboxes +bdo_role mailboxes +buildd_don mailboxes +0_ldo_role mailboxes +oftc -mailboxes `for file in ~/Mail/lists/*; do echo -n "+lists/$(basename $file) "; done` -mailboxes `for file in ~/Mail/bugs/*; do echo -n "+bugs/$(basename $file) "; done` +mailboxes `find ~/Mail/lists -mindepth 1 -maxdepth 1 -type d -printf '+lists/%f '` +mailboxes `find ~/Mail/bugs -mindepth 1 -maxdepth 1 -type d -printf '+bugs/%f '` # integration with org mode macro index \eR "|~/bin/remember_mail\n"