From 1d562af8927d932bc3329de3b06c94a966047238 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 30 Jan 2023 17:33:06 -0600 Subject: Add a bunch of stuff Forgot I had to `git add -f' these! --- notmuch/default/hooks/post-insert | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 notmuch/default/hooks/post-insert (limited to 'notmuch/default/hooks/post-insert') 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 @@ +#!/usr/bin/env bash +# Notmuch post-insert hook + +# This hook is invoked by the insert command after the message has +# been delivered, added to the database, and initial tags have +# been applied. The hook will not be run if there have been any +# errors during the message delivery; what is regarded as success‐ +# ful delivery depends on the --keep option. + +# Typically this hook is used to perform additional query-based +# tagging on the delivered messages. + +# TODO: In notmuch v0.35, the location of this hook becomes configurable. +# When I have that installed, I want to move this to ~/.config/notmuch. -- cgit 1.4.1-21-gabe81