about summary refs log tree commit diff stats
path: root/notmuch/default/hooks/post-insert
diff options
context:
space:
mode:
authorCase Duckworth2023-01-30 17:33:06 -0600
committerCase Duckworth2023-01-30 17:33:06 -0600
commit1d562af8927d932bc3329de3b06c94a966047238 (patch)
treeacb2c460fbb8d01473f38f4de426c4879c7ae11a /notmuch/default/hooks/post-insert
parentDeclare mode (diff)
downloadetc-1d562af8927d932bc3329de3b06c94a966047238.tar.gz
etc-1d562af8927d932bc3329de3b06c94a966047238.zip
Add a bunch of stuff
Forgot I had to `git add -f' these!
Diffstat (limited to 'notmuch/default/hooks/post-insert')
-rwxr-xr-xnotmuch/default/hooks/post-insert14
1 files changed, 14 insertions, 0 deletions
diff --git a/notmuch/default/hooks/post-insert b/notmuch/default/hooks/post-insert new file mode 100755 index 0000000..b983dfc --- /dev/null +++ b/notmuch/default/hooks/post-insert
@@ -0,0 +1,14 @@
1#!/usr/bin/env bash
2# Notmuch post-insert hook
3
4# This hook is invoked by the insert command after the message has
5# been delivered, added to the database, and initial tags have
6# been applied. The hook will not be run if there have been any
7# errors during the message delivery; what is regarded as success‐
8# ful delivery depends on the --keep option.
9
10# Typically this hook is used to perform additional query-based
11# tagging on the delivered messages.
12
13# TODO: In notmuch v0.35, the location of this hook becomes configurable.
14# When I have that installed, I want to move this to ~/.config/notmuch.