From 026202e592084095e3a4c17465d505a19367e3b9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 1 Jun 2013 00:15:06 -0300 Subject: Smarter mutt macro for mail checking --- modules/mutt/muttrc.dot.link | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/mutt/muttrc.dot.link b/modules/mutt/muttrc.dot.link index 1d10ee7..5f5679f 100644 --- a/modules/mutt/muttrc.dot.link +++ b/modules/mutt/muttrc.dot.link @@ -352,9 +352,9 @@ mailboxes `echo $HOME/mail/Sync/*/*` #macro index f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" macro pager f "!clear;fetchmail\n" "Sync remote with local mail" macro index f "!clear;fetchmail\n" "Sync remote with local mail" -macro pager G "!clear;fetchmail\n" "Sync remote with local mail" -macro index G "!clear;fetchmail\n" "Sync remote with local mail" -macro index $ "=INBOX/\n" "Sync mailbox and refresh list of new messages" +macro pager G "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n\n" "Sync remote with local mail" +macro index G "unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n=INBOX/\n\n" "Sync remote with local mail" +macro index $ "=INBOX/\n\n" "Sync mailbox and refresh list of new messages" macro index n "" # ------------- -- cgit v1.2.3