about summary refs log tree commit diff stats
path: root/notmuch/default/hooks/pre-new
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/pre-new
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/pre-new')
-rwxr-xr-xnotmuch/default/hooks/pre-new15
1 files changed, 15 insertions, 0 deletions
diff --git a/notmuch/default/hooks/pre-new b/notmuch/default/hooks/pre-new new file mode 100755 index 0000000..443e3f2 --- /dev/null +++ b/notmuch/default/hooks/pre-new
@@ -0,0 +1,15 @@
1#!/usr/bin/env bash
2# Notmuch pre-new hook
3
4# This hook is invoked by the new command before scanning or im‐
5# porting new messages into the database. If this hook exits with
6# a non-zero status, notmuch will abort further processing of the
7# new command.
8
9# Typically this hook is used for fetching or delivering new mail
10# to be imported into the database.
11
12# TODO: In notmuch v0.35, the location of this hook becomes configurable.
13# When I have that installed, I want to move this to ~/.config/notmuch.
14
15/home/case/usr/scripts/syncmail