[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fiddling with tab completion



On Fri, 2005-11-11 at 10:02 -0500, kamaraju kusumanchi wrote:
> Using Debian unstable, kde 3.4.2, konsole 1.5.2, bash 3.00.16(1)
> 
> $ls temp*
> temp10.txt  temp13.txt  temp1.txt  temp3.txt
> temp12.txt  temp14.txt  temp2.txt  temp4.txt
> 
> $ls -v temp*
> temp1.txt  temp3.txt  temp10.txt  temp13.txt
> temp2.txt  temp4.txt  temp12.txt  temp14.txt
> 
> 
> If I do
> 
> $gvim temp<tab><tab>
> 
> I get
> 
> temp10.txt  temp13.txt  temp1.txt   temp3.txt
> temp12.txt  temp14.txt  temp2.txt   temp4.txt
> 
> Is there a way to change this to
> 
> temp1.txt   temp3.txt temp10.txt  temp13.txt
> temp2.txt   temp4.txt temp12.txt  temp14.txt
> 
> ie the tab completion should figure out the versions correctly (ie 
> follow the output of ls -v instead of ls). Is this possible?

dont know if it is possible but "man bash" and search for the word
completion.

also google for "bash tab completion".

-matt zagrabelny



Reply to: