Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: dnf5 completions
> 2024/11/13 1:23、Mikael Magnusson <mikachu@xxxxxxxxx>のメール:
>
> On Tue, Nov 12, 2024 at 7:42 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:
>>
>> _dnf5 is called from _dnf if dnf command is a symlink to dnf5;
>> see the 1st hunk of the patch for _dnf below.
>
> Should there (also?) be a zstyle for this perhaps? That way the
> distribution can configure it in their global init files if dnf ever
> becomes a not-symlink for example.
I believe /usr/bin/dnf will continue to be a symlink to dnf-3 dnf5 etc.
for a long time, and we will need to update _dnf/_dnf5 many times before
they change it.
> Also, the $(readlink...) can be $commands[dnf]:P instead, to avoid a fork.
Thanks!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author