[IPython-user] Custom command completers implemented in SVN
Stefan van der Walt
stefan@sun.ac...
Tue Mar 20 01:43:11 CDT 2007
On Sun, Mar 18, 2007 at 09:34:50PM -0600, Fernando Perez wrote:
> > Thanks for taking the time to implement this. One more problem, when
> > autocompleting in a directory with only one subdirectory:
> >
> > mkdir -p /tmp/dir/sub
> > fun('/tmp/di<tab>
> >
> > results in
> >
> > fun('/tmp/dir/sub'
>
> I've "fixed" this: now the completion is only closed if the subdir is
> actually empty. If the single subdir contains multiple files itself,
> then the completion doesn't close early.
>
> This seems like reasonable behavior to me, please report any problems.
Thanks, Fernando! It now works exactly as I wanted it to.
Cheers
Stéfan
More information about the IPython-user
mailing list