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

Completion order for approximate



Hi all,

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'

Test case: grpo<tab>
% gprof
corrections (errors: 1)
gprof      grog       grotty     groupdel   groupmod   growisofs  grpconv
groff      grops      groupadd   groupmems  groups     grpck      grpunconv
original:
grpo

"grpo" is a mistyped "grep".

Regards,
Albert.




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