Re: vim like completion in bash?
I mean bash can not expand the wildcard after I press tab.
In a directory, there are two files: aaa and bbb
I type vi *aa* in the command line and press tab
it can not be expaned to vi aaa
I want this kind of effect although it may not be possible.
Thank you.
On Sun, Mar 04, 2007 at 10:38:59AM +0100, Franck Joncourt wrote:
> On Sun, Mar 04, 2007 at 04:48:53PM +0800, Zhengquan Zhang wrote:
> > thank you,
> > ok I will try zsh then.
> >
> > On Sun, Mar 04, 2007 at 12:33:10AM -0800, Steve Lamb wrote:
> > > zhengquan zhang wrote:
> > > > I can :e *doc* in vim, pressing tab and it can help me find the document
> > > > I need,
> > > > but in bash if I use vi *doc* and press tab, nothing would happen, it
> > > > can not find the file I want to edit
> > > > Is there any switches to make it possible?
>
> Maybe I have not understood your problem, but are you looking for bash
> completion ? If you are, enable it in /etc/bash.bashrc.
>
> --
> Franck Joncourt
> http://www.debian.org
> http://smhteam.info/wiki/
> GPG server : pgpkeys.mit.edu
> Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
Reply to: