Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: expansion of custom abbreviations in configure (autoconf) completion



On Sun 21 Jun 2026, at 08:59, Oliver Kiddle wrote:
> Completers are invoked early while $curcontext is still nascent so
> that doesn't allow styles to be especially targetted.

i didn't think about that. if we do move forward with it i guess that
would be nice to have. without even knowing the answer, it feels bad,
but could it be called by _tags or something?

On Sun 21 Jun 2026, at 08:59, Oliver Kiddle wrote:
> It's trivial to factor out into a separate function so the patch
> below does that. I didn't have a better name so used your "snippet"
> suggestion though I'm not sure if that's really appropriate here.

yeah it was just the first thing i thought of, no attachment to it

On Sun 21 Jun 2026, at 08:59, Oliver Kiddle wrote:
> This does that by looking up a prefix style. It should possibly also
> consider prefix-hidden but with an opposite default.

it seems to work for me at least

dana




Messages sorted by: Reverse Date, Date, Thread, Author