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

Re: unsorted completions?



Adam Spiers wrote:

> Am I right in thinking that you can't currently stop zsh sorting
> completion matches with the new completion system?  I would really
> like to be able to do this for a variant of _history_complete_word, so
> that successive presses of a key produce progressively older matches
> from the history.

There are unsorted groups. You can just change the fifth line to:

  _description -V expl 'history word'

(with a unchanged 3.1.6, change the last line to:

  compgen -V hist -Q -H 0 ''
)

Hm, maybe this should be made a configuration key.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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