From 36f28df76c0ac0e8706fb00ec51820aa1df07c2f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 18 Jan 2020 11:19:11 -0300 Subject: Install zsh completion in the default path 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 53dd921..9946667 100644 --- 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 -- cgit v1.2.3