[systemd-devel] [PATCH v2] shell-completion: fix zsh completion installation

Tollef Fog Heen tfheen at err.no
Fri Jul 26 02:05:47 PDT 2013


]] William Giokas 

> On Thu, Jul 25, 2013 at 07:02:14PM -0500, William Giokas wrote:
> > On Fri, Jul 26, 2013 at 12:41:11AM +0200, Michael Biebl wrote:
> > > I was told [1], the directory for 3rd party packages would be
> > > /usr/share/zsh/vendor-completions. But I'm not a zsh user, so I'm just
> > > paroting what I read there.
> > 
> > Was there a zsh developer (not a Debian packager of zsh) that says this
> > is where things should go? Not that I want to go against Debian, but
> > I don't want to just do what Debian says, I would rather do what the zsh
> > developers so. You can specify a directory for this, so if a distro
> > wants it in a separate place, they can do that.
> 
> Just looking at what Fedora/CentOS and Arch provide, nothing installs to
> '/usr/share/zsh/vendor-functions/'. I'm going to say to disregard the v2
> and go with the v1 patch. If Debian wants to put it somewhere special,
> they can use the configure flag.

$datadir/zsh/site-functions is what zsh on Fedora and OSX at least has,
so we'll probably override it to be /usr/share/zsh/vendor-completions so
the user can override it if they want to.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


More information about the systemd-devel mailing list