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

fiddling with tab completion



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?

thanks
raju

--
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/



Reply to: