diff options
author | Case Duckworth | 2023-01-30 17:33:06 -0600 |
---|---|---|
committer | Case Duckworth | 2023-01-30 17:33:06 -0600 |
commit | 1d562af8927d932bc3329de3b06c94a966047238 (patch) | |
tree | acb2c460fbb8d01473f38f4de426c4879c7ae11a /notmuch/default/hooks/pre-new | |
parent | Declare mode (diff) | |
download | etc-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-x | notmuch/default/hooks/pre-new | 15 |
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 | ||