[IPython-user] OSX tab completion

Chanchal notmuch at gmail.com
Thu Mar 31 14:01:29 CST 2005

It could also be the OSX Terminal/bash setting.

Both in OSX default Terminal and iTerm when I use tab completion for
directory or command names I get a blank space after the shell
completes the directory/file or command name. This does not happen on
Linux bash or Cygwin.

I am not sure but do you think a change in terminal type or some
Terminal or bash setting could alter this behavior.

On Thu, 31 Mar 2005 12:43:58 -0700, Fernando Perez
<Fernando.Perez at colorado.edu> wrote:
> Chu wrote:
> > When I do tab completion for anything, I get an extra space at the end.
> >
> > eg:
> > In [1]: import datetime
> > In [2]: datetime<blank space> .
> > ...
> > In [7]: cd /
> > /
> > In [8]: cd usr/<blank space>local
> >
> > This extra space pretty much takes away the convenience/speed of tab
> > completion. I noticed someone had asked a similar question last month
> > but no resolution. I am so hooked to this can't work without tab
> > completion.
> >
> > I think this has to do with the readline module as similar behavior
> > happens when I use tab completion in python interpreter.
> This is the killer: since the problem is in the underlying readline, there is
> nothing I can do on the ipython side to help.  It seems to me that you should
> try to track this as an OSX-specific python bug (things are OK under linux).
> That is, unless one of our OSX users can offer a solution, which would be great.
> best,
> f

More information about the IPython-user mailing list