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

Re: completion, sorting of options



On Thu, Nov 9, 2023 at 5:32 AM Thomas Lauer <thomas.lauer@xxxxxxxxxx> wrote:
>
> From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
> Date: Wed, 8 Nov 2023 12:09:20 -0800
>
> > On Wed, Nov 8, 2023 at 5:25?AM Thomas Lauer <thomas.lauer@xxxxxxxxxx> wrote:
> > >
> > > zstyle ':completion:*:*:mycmd:*:*' sort nosort_and_i_really_mean_nosort
> >
> > Not likely to happen
>
> As the :-) in my message showed (or perhaps didn't) this was not really
> a serious suggestion.

Oh, I got that, just felt it deserved further comment for the audience.

> It's just a bit frustrating that what I'd call an
> implementation detail within _arguments makes this call perform in a way
> a (probably naive) user doesn't expect and can't easily grok or rectify.

Combination of an unanticipated use case and the order in which
features like unsorted groups were added to "compadd" relative to the
implementation of _arguments.




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