> 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.
>
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