On Sun, Jul 21, 2013 at 11:44 PM, Michael Biebl <bi...@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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to