From 28e3c3e6a04e8613808011c228918b1a092d709d Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 31 Jul 2018 15:32:29 -0700 Subject: Add github mailbox --- mutt/notmuch-hook.sh | 3 +++ muttrc | 1 + 2 files changed, 4 insertions(+) diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index 6c152c4..42b22cf 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -29,3 +29,6 @@ notmuch tag +jobs -inbox -- \ from:stackoverflow.com or \ from:stackoverflow.email or \ subject:job + +# tag github emails +notmuch tag +github -inbox -- from:github.com diff --git a/muttrc b/muttrc index a969ed1..7cd0a89 100644 --- a/muttrc +++ b/muttrc @@ -79,6 +79,7 @@ virtual-mailboxes "sent" "notmuch://?query=tag:sent" virtual-mailboxes "jobs" "notmuch://?query=tag:jobs" virtual-mailboxes "todo" "notmuch://?query=tag:todo" virtual-mailboxes "newsletters" "notmuch://?query=tag:newsletters" +virtual-mailboxes "github" "notmuch://?query=tag:github" macro index,pager S "" "search mailbox" macro index,pager A "+archive -unread -inbox\n" "archive message" -- cgit v1.2.3