]> git.notmuchmail.org Git - notmuch/blobdiff - doc/man5/notmuch-hooks.rst
Merge tag '0.31.4'
[notmuch] / doc / man5 / notmuch-hooks.rst
index de2ed0c2358809746a6fcf8e73c7569ee0f00e01..c509afb39bb5944c72763769bb582ca89c183c9e 100644 (file)
@@ -5,15 +5,15 @@ notmuch-hooks
 SYNOPSIS
 ========
 
-$DATABASEDIR/.notmuch/hooks/*
+<hook_dir>/{pre-new, post-new, post-insert}
 
 DESCRIPTION
 ===========
 
 Hooks are scripts (or arbitrary executables or symlinks to such) that
 notmuch invokes before and after certain actions. These scripts reside
-in the .notmuch/hooks directory within the database directory and must
-have executable permissions.
+in a directory defined as described in **notmuch-config(1)**. They
+must have executable permissions.
 
 The currently available hooks are described below.