]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Install zsh completion in the default path
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 18 Jan 2020 14:19:11 +0000 (11:19 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 18 Jan 2020 14:19:11 +0000 (11:19 -0300)
Install the zsh completer into site-functions rather than
vendor-completions. vendor-completions is a Debian-ism that many distros
and other OSes don't support. site-functions is added to the default
fpath by zsh, so it should just work for all users.

Patch thanks to Matthew Martin.

Makefile

index 53dd921006cfa0f268c74c5b2994117ac23641f8..99466676526792fce908ed767560962b0a69ad2f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -43,7 +43,7 @@ install_man:
 
 install_completion:
        $(INSTALL) -D -m 0644 lib/keyringer/completions/bash/keyringer $(DESTDIR)/$(PREFIX)/share/bash-completion/completions/keyringer
-       $(INSTALL) -D -m 0644 lib/keyringer/completions/zsh/_keyringer $(DESTDIR)/$(PREFIX)/share/zsh/vendor-completions/_keyringer
+       $(INSTALL) -D -m 0644 lib/keyringer/completions/zsh/_keyringer $(DESTDIR)/$(PREFIX)/share/zsh/site-functions/_keyringer
 
 install: clean
        @make install_lib install_bin install_doc install_man install_completion