> First I did this: complete  -W "p3 p2 p1" mycommand
> 
> Then I of course tested it by typing: mycommand p<tab>
> 
> 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.
> 
> Is there any way to make it first complete it with "p3" which is the first 
> one 
> in the list?

There is not; readline always sorts the list of matches.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                                Live Strong.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://tiswww.tis.case.edu/~chet/


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to