From 437c096814443c7f7f8939fe865a1e383bed5c51 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 10 Feb 2026 02:41:10 -0300 Subject: [PATCH] Fix: mutt: disable key to get all mails --- muttrc.dot.link | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 -- 2.39.5