Zsh searches in the $fpath array for completion functions. By default
this includes $(prefix)/share/zsh/site-functions but not the existing
value. The prefix for zsh and notmuch isn't guaranteed to be the same
but it normally will be making this a better default for
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 3c148e12..9768d4a3 100755
--- a/configure
+++ b/configure
@@ -168,7 +168,7 @@ Fine tuning of some installation directories is available:
        --emacslispdir=DIR      Emacs code [PREFIX/share/emacs/site-lisp]
        --emacsetcdir=DIR       Emacs miscellaneous files 
        --bashcompletiondir=DIR Bash completions files 
-       --zshcompletiondir=DIR  Zsh completions files 
+       --zshcompletiondir=DIR  Zsh completions files 
 Some features can be disabled (--with-feature=no is equivalent to
 --without-feature) :
@@ -1206,7 +1206,7 @@ desktop_dir = \$(prefix)/share/applications
 bash_completion_dir = 
 # The directory to which zsh completions files should be installed
-zsh_completion_dir = 
+zsh_completion_dir = ${ZSHCOMLETIONDIR:=\$(prefix)/share/zsh/site-functions}
 # Whether the canonicalize_file_name function is available (if not, then 
notmuch will
 # build its own version)

notmuch mailing list

Reply via email to