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

How to get compadd to not sort words?



Hi -

I've been working on beefing up command completion in the zsh debugger
zshdb.

For example, if I enter

    compadd --  1 2 -1 -2  -3 0

The completions come out in the order:

           -3   -2  -1   0    1  2

But what I really want is the order I gave. (The most frequent "up or down"
command has value 1; the last useful is "up 0" which doesn't do anything.)

How can I tell compadd not to sort the completions?

Thanks.


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