diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-01 00:15:06 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-01 00:15:06 -0300 |
commit | 026202e592084095e3a4c17465d505a19367e3b9 (patch) | |
tree | b085598578be44dc4a80c5d291c45172ca9dc954 /modules/mutt | |
parent | 88739b72cec04f365e73af071d5c37601743b802 (diff) | |
download | dotfiles-026202e592084095e3a4c17465d505a19367e3b9.tar.gz dotfiles-026202e592084095e3a4c17465d505a19367e3b9.tar.bz2 |
Smarter mutt macro for mail checking
Diffstat (limited to 'modules/mutt')
-rw-r--r-- | modules/mutt/muttrc.dot.link | 6 |
1 files 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 <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" macro pager <esc>f "!clear;fetchmail\n" "Sync remote with local mail" macro index <esc>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 $ "<change-folder>=INBOX/\n<sync-mailbox>" "Sync mailbox and refresh list of new messages" +macro pager G "<enter-command>unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n<change-folder>=INBOX/\n<sync-mailbox>\n" "Sync remote with local mail" +macro index G "<enter-command>unset wait_key\n!clear ; fetchmail || [ $? -eq 1 ]\n<change-folder>=INBOX/\n<sync-mailbox>\n" "Sync remote with local mail" +macro index $ "<change-folder>=INBOX/\n<sync-mailbox>\n" "Sync mailbox and refresh list of new messages" macro index n "<next-unread-mailbox>" # ------------- |