[IPython-User] IPython bash completions

Aaron Meurer asmeurer@gmail....
Mon Sep 10 00:17:17 CDT 2012


Has anyone ever looked at automatically generating bash (or other
shell?) completions for IPython command line arguments automatically?
It shouldn't be too hard to do, since everything is already
automatically generated by the configuration system.

For example, pip let's you do this.  If you add

eval "`pip completion --bash`"

to your bash profile, then pip <TAB> will automatically complete the
options.  pip completion --zsh is also available.

Aaron Meurer


More information about the IPython-User mailing list