zsh-users
 help / color / mirror / code / Atom feed
* How to get compadd to not sort words?
@ 2014-12-15  1:35 Rocky Bernstein
  2014-12-15  2:50 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Rocky Bernstein @ 2014-12-15  1:35 UTC (permalink / raw)
  To: zsh-users

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-12-15 16:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-15  1:35 How to get compadd to not sort words? Rocky Bernstein
2014-12-15  2:50 ` Bart Schaefer
2014-12-15  6:59   ` Rocky Bernstein
2014-12-15  9:09     ` Bart Schaefer
2014-12-15 16:16       ` Rocky Bernstein

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).