Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion order for approximate
> On 04 December 2020 at 16:49 "A. Wik" <awik32@xxxxxxxxx> wrote:
> I'm trying to set up the approximate expansion so that the original
> string comes before the corrections in the menu.
>
> This doesn't work:
> zstyle ':completion:*:approximate:*' tag-order 'original corrections'
You need:
zstyle ':completion:*:approximate:*' group-order original corrections
--- note also no quotes. See group-order in the zshcompsys manual for more.
tag-order specifies the order completions are looked for, not the order they're
displayed in. To specify an order, you need separate words on the command line;
values in the same set of quotes are treated as being together (sometimes useful
for tag-order, not for group-order).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author