[IPython-dev] cd a little hyper
Thu Jun 5 18:54:55 CDT 2008
On Thu, Jun 5, 2008 at 3:30 PM, John Hunter <firstname.lastname@example.org> wrote:
> 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 : !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 : cd /home/titan/johnh/mpl/examples/ap<TAB>
> I get the following completion::
> In : cd /home/titan/johnh/mpl/examples/api/.svn/
> Ie, it puts me one directory too deep.
> Any ideas?
> In : import IPython
> In : IPython.__version__
> Out: '0.8.4'
> In : !uname -a
> SunOS flag 5.10 Generic_118855-15 i86pc i386 i86pc
Mhh, I don't see that here. Could you let me know if you see this on BIC?
More information about the IPython-dev