IPython - Enhanced Interactive Python

tab expansion should only take one directory level at the time

Reported by Peter Bienstman on 2008-11-19
2
Affects Status Importance Assigned to Milestone
IPython
Confirmed
Low
Unassigned

Bug Description

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.

Brian Granger (ellisonbg) wrote :

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.

Changed in ipython:
importance: Undecided → Low
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers