[Pkg-systemd-maintainers] Bug#717540: Bug#717540: systemd: Please install zsh completion

Felipe Sateler fsateler at debian.org
Mon Jul 22 15:16:42 BST 2013


On Sun, Jul 21, 2013 at 11:44 PM, Michael Biebl <biebl at debian.org> wrote:
> Hi,
Hi,

>
> Am 22.07.2013 05:16, schrieb Felipe Sateler:
>> Systemd ships a zsh completion file, it would be great if systemd
>> installed it.
>>
>> zsh does have a systemd completion file but it is not really up to par,
>> the provided one seems better.
>
> How exactly does zsh completion work? Where would this file have to be
> installed? If zsh itself already provides a completion file for sytemd,
> would those two conflict? And would that mean, it has to be removed from
> zsh first?

The zsh completion file can be dropped into
/usr/share/zsh/vendor-completions into a file named _systemd (anything
starting with _).

I'm not a zsh guru, but my testing suggests that files shipped in that
directory override the ones provided by zsh in
/u/s/zsh/functions/Completion (with the default zsh $fpath, at least).
This means no conflicts, and therefore zsh need not remove theirs.

--

Saludos,
Felipe Sateler




More information about the Pkg-systemd-maintainers mailing list