From 103ed7947824a00a4d377cc356e9e98fa57b57ce Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 13 Jul 2018 15:36:18 -0700 Subject: Mail and bash aliases --- mutt/notmuch-hook.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mutt') diff --git a/mutt/notmuch-hook.sh b/mutt/notmuch-hook.sh index 29fe9dc..6c152c4 100755 --- a/mutt/notmuch-hook.sh +++ b/mutt/notmuch-hook.sh @@ -6,17 +6,18 @@ notmuch new notmuch tag +inbox +unread -new -- tag:new # tag all messages from "me" as sent -notmuch tag +sent -- from:ben@bsima.me +notmuch tag +sent -inbox -- from:ben@bsima.me # tag TODOs from myself -notmuch tag +todo -- subject:TODO +notmuch tag +todo -inbox -- subject:TODO # tag some newsletters, but don't show them in inbox notmuch tag +newsletters -inbox -- \ from:the-morning-paper@onelanday.co.uk or \ from:newsletter@fightaging.org or \ subject:'The Reading List Email*' or \ - from:info@haskellweekly.news + from:info@haskellweekly.news or \ + from:kale@hackernewsletter.com # tag logwatch emails & remove from inbox notmuch tag +logwatch -new -inbox -- subject:'Logwatch*' -- cgit v1.2.3