Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


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

ipython opened this Issue · 3 comments

2 participants

IPython: interactive computing in Python Fernando Perez
IPython: interactive computing in Python

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.

IPython: interactive computing in Python

[ 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.

Fernando Perez

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

Fernando Perez

Oops, meant to close.

Fernando Perez fperez closed this
Damián Avila damianavila referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
David Renshaw dwrensha referenced this issue from a commit
Andrew Kelley 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
Something went wrong with that request. Please try again.