[Pkg-zsh-devel] zsh tab-complete locations

Frank Terbeck ft at bewatermyfriend.org
Sat Aug 30 21:08:15 UTC 2014


Hey Harlan,

Harlan Lieberman-Berg wrote:
> Question for you guys and gals:  currently, one of the packages I help
> maintain is installing the same zsh tab completion file in
> both /usr/share/zsh/site-functions
> and /usr/share/zsh/vendor-completions.
>
> Which place should it be installed, or is it correct that it should be
> installed in both locations?

With Debian's zsh binaries, the ‘site-functions’ directory is not in
‘/usr/share/zsh’ but in ‘/usr/local/share/zsh’. So installing files in
‘/usr/share/zsh/site-functions’ will have no effect at all.

Install completion function files to

  /usr/share/zsh/vendor-completions

and all other function files to 

  /usr/share/zsh/vendor-functions

We have this documented in "README.Debian".


Regards, Frank

-- 
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
                                                  -- RFC 1925



More information about the Pkg-zsh-devel mailing list