From: Silvio Rhatto Date: Tue, 10 Feb 2026 05:41:10 +0000 (-0300) Subject: Fix: mutt: disable key to get all mails X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;p=rhatto%2Fdotfiles%2Fmail.git Fix: mutt: disable key to get all mails --- diff --git a/muttrc.dot.link b/muttrc.dot.link index 8e22fc7..c283d53 100644 --- a/muttrc.dot.link +++ b/muttrc.dot.link @@ -265,14 +265,18 @@ mailboxes `echo $HOME/mail/*` # -------------- # Mail reception # -------------- +# +# Old macros: #macro pager z "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" #macro index z "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" #macro pager z "unset wait_key\n!clear ; getmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" #macro index z "unset wait_key\n!clear ; getmail || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" #macro pager z "unset wait_key\n!clear ; getmails || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" #macro index z "unset wait_key\n!clear ; getmails || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" -macro pager z "unset wait_key\n!clear ; getmails-alternative || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" -macro index z "unset wait_key\n!clear ; getmails-alternative || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" +# +# Current macro, disabled by default, to avoid triggering it accidentally, as it get all mails from all acounts. Should be enabled at ~/.custom/muttrc. +#macro pager z "unset wait_key\n!clear ; getmails-alternative || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" +#macro index z "unset wait_key\n!clear ; getmails-alternative || [ $? -eq 1 ]\n=INBOX/\n" "Fetch new mail" # ---------------------------------------- # Navigation