[Pkg-zsh-devel] Installing zsh completion files

William Giokas 1007380 at gmail.com
Fri Jul 26 17:16:02 UTC 2013


On Wed, Jul 24, 2013 at 03:48:41PM +0200, Frank Terbeck wrote:
> Felipe Sateler wrote:
> > While zsh provides great completion functions for many programs,
> > sometimes a better one is crafted by the program authors. Where should
> > a program install the completion file? It seems to me that
> > /u/s/zsh/vendor-completions is the correct place, but I wanted to
> > confirm that.
> 
> For other debian packages that is precisely the intended location to
> install additional completion functions. The two directories
> `vendor-completions' and `vendor-functions' are located very early in
> $fpath, so that anything in them overrides any function of the same
> name, that zsh may ship.

I would just warn you that debian seems to be the only distribution that
thinks about using vendor-functions. And looking through your packages,
you have me confused. Using apt-file, I found nothing in
/usr/share/zsh/vendor-functions/ in any package. I have no idea how
reliable that is, but I also have no vendor-functions on my system. zsh
should, by default, be installing its completions to
$prefix/share/zsh/$version.

> The directories are located after /usr/local/share/zsh/site-functions,
> so that system administrators still have the option to override any
> function shipped by a package.
> 
> > The specific case I'm thinking of now is systemd, where zsh already
> > provides a completion file but systemd upstream provides a more
> > complete and up to date one.
> 
> It would be useful if upstream would consider syncing their completion
> with the one zsh ships; zsh developers are always happy about new and
> updated completions. If they have any questions about the subject,
> mailing zsh-workers at zsh.org is the right place to do it (no need to be
> subscribed, just ask to be Cc:ed).
> 
Thanks,

-- 
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF

p.s. I am not subscribed, so please CC me in a reply.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zsh-devel/attachments/20130726/d1a7d6c1/attachment.sig>


More information about the Pkg-zsh-devel mailing list