[Pkg-zsh-devel] Installing zsh completion files
fsateler at debian.org
Wed Jul 24 13:54:15 UTC 2013
On Wed, Jul 24, 2013 at 9:48 AM, Frank Terbeck <ft at bewatermyfriend.org> 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.
> 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.
Great, I'll use vendor-completions then. Thanks for confirming.
>> 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).
I'll forward this on.
Thanks for your help!
More information about the Pkg-zsh-devel