summaryrefslogtreecommitdiffstats
path: root/notmuch
diff options
context:
space:
mode:
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