summaryrefslogtreecommitdiff
path: root/mutt
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-07-13 15:36:18 -0700
committerBen Sima <ben@bsima.me>2018-07-13 15:36:18 -0700
commit103ed7947824a00a4d377cc356e9e98fa57b57ce (patch)
tree2527c125613825f6c28340cda4d0c396f40c8990 /mutt
parenta25f817202787a140cee28bd4e1a385f1119f30c (diff)
Mail and bash aliases
Diffstat (limited to 'mutt')
-rwxr-xr-xmutt/notmuch-hook.sh7
1 files changed, 4 insertions, 3 deletions
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*'