Makefile: Changed default zsh completion location to zsh default fpath.
Systems such as Debian that have overridden the default fpath will need to set ZSH_COMPLETIONS_PATH. I feel that Debian is causing unncessary complexity by making this change, and have filed a bug report about it. This also means that when git-annex is installed with PREFIX=/usr/local it will use /usr/local/share/zsh/site-functions which works with probably all versions of zsh.
This commit is contained in:
parent
5fcaaf77db
commit
7f97575941
4 changed files with 13 additions and 2 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -11,6 +11,8 @@ STANDALONE_BUILD=$(shell grep -qe '^Package: git-annex-standalone' debian/contro
|
|||
# Do use the changelog's version number, rather than making one up.
|
||||
export RELEASE_BUILD=1
|
||||
|
||||
export ZSH_COMPLETIONS_PATH=/usr/share/zsh/vendor-completions
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue