summaryrefslogtreecommitdiff
path: root/.fmail
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-06-10 09:43:30 +0100
committerSean Whitton <spwhitton@spwhitton.name>2017-06-10 09:43:30 +0100
commit09de9ccadc92d819debdaadae80b35560f7e463a (patch)
tree3360f375a009067502bd1ebb94bbfff518a4931c /.fmail
parent5db66ef1af7ddac6adeaa574aab022139e01123d (diff)
downloaddotfiles-09de9ccadc92d819debdaadae80b35560f7e463a.tar.gz
improve killed thread handling
don't exclude from searches. just mark as read.
Diffstat (limited to '.fmail')
-rwxr-xr-x.fmail/.notmuch/hooks/post-new2
1 files changed, 1 insertions, 1 deletions
diff --git a/.fmail/.notmuch/hooks/post-new b/.fmail/.notmuch/hooks/post-new
index c09c81a1..6d9c76c8 100755
--- a/.fmail/.notmuch/hooks/post-new
+++ b/.fmail/.notmuch/hooks/post-new
@@ -9,5 +9,5 @@ notmuch tag -unread +draft -- folder:drafts
# propagate the 'killed' tag to all messages in the killed message's thread
killed_threads=$(notmuch search --output=threads tag:killed)
if [ ! -z "$killed_threads" ]; then
- notmuch tag +killed -- $killed_threads
+ notmuch tag -unread -- $killed_threads
fi