[IPython-dev] cd a little hyper
John Hunter
jdh2358 at gmail.com
Thu Jun 5 18:30:03 EDT 2008
To due a readline bug on solaris, cd ~/somedTAB used to insert extra
white space after completing directories, which was a major headache
when navigating deeply nested directories since I had to backspace
after every directory completion. Using the latest ipython rom bzr,
this appears to be fixed. I don't know how it was fixed, but it is
great. (thanks).
But I notice a new buglet. If I am cd-ing into a dir which has a
bunch of files and one other dir, cd will take me one level too deep.
Eg, I want to cd into "api"::
In [18]: !ls -laF /home/titan/johnh/mpl/examples/api/
total 144
drwx------ 3 johnh research 1024 Jun 5 17:21 ./
drwxr----- 13 johnh research 16896 Jun 3 15:55 ../
drwx------ 6 johnh research 512 Jun 5 17:23 .svn/
-rw------- 1 johnh research 1780 Jun 3 15:54 README.txt
-rw------- 1 johnh research 400 Jun 3 15:54 agg_oo.py
..snipsnip (lots more plain files but .svn is the only subdir)
Now when I do::
In [19]: cd /home/titan/johnh/mpl/examples/ap<TAB>
I get the following completion::
In [19]: cd /home/titan/johnh/mpl/examples/api/.svn/
Ie, it puts me one directory too deep.
Any ideas?
JDH
In [19]: import IPython
In [20]: IPython.__version__
Out[20]: '0.8.4'
In [21]: !uname -a
SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc
More information about the IPython-dev
mailing list