[PATCH 2/2] debian: update zsh completion installation

David Bremner david at tethera.net
Sun Sep 16 05:41:41 PDT 2018


This ${prefix}/share/vendor-completion convention seems to be debian
specific, so leave the global default alone for now.
---
 debian/notmuch.install | 1 +
 debian/rules           | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/notmuch.install b/debian/notmuch.install
index 31b9a37e..5067a441 100644
--- a/debian/notmuch.install
+++ b/debian/notmuch.install
@@ -1,3 +1,4 @@
 usr/bin
 usr/share/man
 usr/share/bash-completion
+usr/share/zsh/vendor-completions
diff --git a/debian/rules b/debian/rules
index 1ac6498c..b2cba0e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,7 @@ override_dh_auto_configure:
 		--mandir=/usr/share/man \
 		--infodir=/usr/share/info \
 		--sysconfdir=/etc \
+		--zshcompletiondir=/usr/share/zsh/vendor-completions \
 		--localstatedir=/var
 
 override_dh_auto_build:
-- 
2.18.0



More information about the notmuch mailing list