Skip to content
This repository

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

Closed
ipython opened this Issue · 3 comments

2 participants

IPython: interactive computing in Python Fernando Perez
IPython: interactive computing in Python
Owner
ipython commented

Original Launchpad bug 299821: https://bugs.launchpad.net/ipython/+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
Owner
ipython commented

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

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

Fernando Perez
Owner

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