diff options
Diffstat (limited to 'notmuch/default/hooks/post-insert')
-rwxr-xr-x | notmuch/default/hooks/post-insert | 14 |
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. | ||