summaryrefslogtreecommitdiffstats
path: root/notmuch
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-03-11 22:10:40 -0400
committerJesse Luehrs <doy@tozt.net>2014-03-11 22:26:52 -0400
commit9d0f59a5772c34d16e9a6944143bd1266906a766 (patch)
treeec4d1cc58d0f778ad9cb1e46b8f75e284323ed51 /notmuch
parent80f67542cebfba81cdd1cfebc440b2a6960c37f6 (diff)
downloadconf-9d0f59a5772c34d16e9a6944143bd1266906a766.tar.gz
conf-9d0f59a5772c34d16e9a6944143bd1266906a766.zip
add a post-new hook to notmuch to handle tagging
Diffstat (limited to 'notmuch')
-rwxr-xr-xnotmuch/hooks/post-new4
1 files changed, 4 insertions, 0 deletions
diff --git a/notmuch/hooks/post-new b/notmuch/hooks/post-new
new file mode 100755
index 0000000..ed6f9dc
--- /dev/null
+++ b/notmuch/hooks/post-new
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+notmuch tag +spam -- tag:new and folder:spam
+notmuch tag -new -- tag:new