Re: How to affect the completion order of bash completion?

2006-10-23 Thread Chet Ramey
> First I did this: complete -W "p3 p2 p1" mycommand > > Then I of course tested it by typing: mycommand p > > Now when I push tab button it offers first "p1", then "p2" .. in > "alpabetical" > order. However it would be nice if I could make complete to honor the order > in the word list. >

How to affect the completion order of bash completion?

2006-10-23 Thread Markus Vuori
Hi, I have a problem with bash programmable completion. First I did this: complete -W "p3 p2 p1" mycommand Then I of course tested it by typing: mycommand p Now when I push tab button it offers first "p1", then "p2" .. in "alpabetical" order. However it would be nice if I could make complete