tab expansion should only take one directory level at the time #67

ipython opened this Issue May 10, 2010 · 3 comments


None yet

2 participants


Original Launchpad bug 299821:
Reported by: peter-bienstman (Peter Bienstman).

In my relentless quest for the ultimate tab expansion behaviour, here's another suggestion:

>mkdir AAA
>touch AAA/b

rm -r AA<tab> expands to

>rm -r AAA/b

I think it would be better if that would only get expanded to AAA/, and only to AAA/b after hitting tab a second time. Similarly for other file system commands.


[ LP comment 1 by: Brian Granger, on 2009-04-14 23:27:41.046223+00:00 ]

Yes, I think that tab completion should work in this way. When you tab complete on a directory, you should get as the output AAA/
If you then continue, you should get the contents of the directory.

IPython member

This has now been fixed, the behavior (at least on my system) is as the OP asks for.

IPython member

Oops, meant to close.

@fperez fperez closed this Nov 28, 2011
@dwrensha dwrensha pushed a commit that referenced this issue Jun 25, 2014
@andrewrk andrewrk setEncoding('utf8') on sockets and stop using toString. closes #67
cleaner code, remove potential for glitches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment