Re: vim like completion in bash?
Steve Lamb(grey@dmiyu.org) is reported to have said:
> Wayne Topa wrote:
> > zhengquan zhang(zhang.zhengquan.mailinglist@gmail.com) is reported to have said:
He also wrote
>But I want the effect that: I type vi *a under the command line and
>press tab
>it will automatically expand to vi aaa. I am using bash.
Which is what I answered to, admittedly to his 1st message instead of
the second, in which he stated the above.
>
> >> zhang
>
> > I am running testing with vim 7.0-122+1.
>
> > ls WiFi
> > ./ ../ Dlink_DWL-G520 Linksys_wireless Lucent-WavLan-Gold
> > MAC_addr Netgear_WPN311
>
> > vim WiFi/WA<tab>
> > yields
> > vim WiFi/MAC_addr
>
> But that's not what he's asking for. He's asking for *foo*, note the
> double stars. So a better example would be:
>
> vim WiFi/*Wav* <Tab>
>
> turning into...
>
> vim WiFi/Lucent-WavLan-Gold
Not here it didn't.
vim WiFi/*Wav* <Tab>
Display all 171 possibilities? (y or n)
Wayne
Reply to: