Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Is it possible Readline not to order the options alphabetically? #13

Closed
ibc opened this Issue Mar 4, 2011 · 2 comments

Comments

Projects
None yet
2 participants

ibc commented Mar 4, 2011

Hi, in this simple code:

Bond.start :default_mission => proc { %w{ ccc aaa bbb } }

when pressing TAB with empty buffer I get:

aaa bbb ccc

In some cases I prefer keeping the original order if the array. Is it possible with Bond? I've tryed it directly with Readline and seems not possible at all.

Thanks a lot.

Owner

cldwalker commented Mar 4, 2011

Not that I know of. But perhaps readline has an option for it to put in your ~/.inputrc? You can set ruby-specific readline options as explained here: http://tagaholic.me/2009/07/30/changing-readline-completions-with-key-combo.html

ibc commented Mar 8, 2011

Thanks, I'll check it.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment