[IPython-user] cd tab completion too greedy?

Peter Bienstman Peter.Bienstman@ugent...
Thu Aug 14 08:10:01 CDT 2008


On Thursday 14 August 2008 14:57:22 Fernando Perez wrote:
> On Wed, Aug 13, 2008 at 4:11 AM, Peter Bienstman
>
> <Peter.Bienstman@ugent.be> wrote:
> > Hi,
> >
> > When I start ipython and I type
> >
> > cd .ipyth<tab>
> >
> > This gets expanded to
> >
> > cd .ipython/db/shadowhist
> >
> > Is there a way to just get it expanded to
> >
> > cd .ipython/
>
> On what platform?  Using what version of ipython?
>
> I don't see that behavior at all on linux, with current trunk.
>
> Cheers,

It's with 0.8.4, using Python 2.5.2, pulled in with easy_install under linux.

Note that this behaviour only occurs if there is no ambiguity in the 
directories in between, so e.g. after

mkdir -p a/a/a/a/a/

cd a<tab>

gives

cd a/a/a/a/a

Peter
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ipython.scipy.org/pipermail/ipython-user/attachments/20080814/0f65f52d/attachment-0001.html 


More information about the IPython-user mailing list