X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.muttrc;h=4e697175a4c85fa6a2d17548f86c18f2819d4895;hb=de9637c9d2e672a04d08e63d9e76eab82c04d908;hp=37477e5b9a7bf6817dbd1194107c591ab676673d;hpb=99adb2d59b9c40609ed45252c9fd66a815aecdf9;p=mail.git diff --git a/.muttrc b/.muttrc index 37477e5..4e69717 100644 --- a/.muttrc +++ b/.muttrc @@ -488,12 +488,10 @@ macro generic ,an my_hdr "From: Don Armstrong " ## 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\n'` 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\n'` ## "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\n'` +mailboxes `find ~/Mail/bugs -mindepth 1 -maxdepth 1 -type d -printf '+bugs/%f\n'` # integration with org mode macro index \eR "|~/bin/remember_mail\n"