Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Make _expand_alias more usable as a completer
On 6/20/21, Lawrence Velázquez <larryv@xxxxxxx> wrote:
> On Thu, Jun 3, 2021, at 5:42 PM, Marlon Richert wrote:
>> On Thu, Jun 3, 2021 at 2:24 AM Oliver Kiddle <opk@xxxxxxx> wrote:
>> > In practical tests, I'm not finding that this works too well, it ends
>> > up
>> > removing the characters typed.
>>
>> I cannot reproduce that. [...] Am I missing something?
>>
>> > I also wonder if this would be better done from within _command_names
>> > directly but I'm not sure.
>>
>> Actually, I feel like it could instead be added to the _expand
>> completer. Would that be a better idea than what I presented in this
>> patch?
>
> Anyone have answers to Marlon's questions?
If it helps, I disagree with conflating _expand_alias (expanding
aliases) and _expand (filename expansion).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author