[IPython-dev] Using ipython as shell replacement

Niklas Semmler metaswirl@gmail....
Mon Mar 11 06:29:44 CDT 2013


Hi there,

just a few days ago I chose to try out ipython as a shell replacement.
How can I manipulate the path variable of the underlying bash?

does work:
!/usr/local/bin/tmux

does not:
tmux
NameError: name 'tmux' is not defined

The old doc says it should work with
%env PATH+=;/foo

but that only prints a table of the environment variables. It does not change the PATH variable.
(source http://ipython.org/ipython-doc/dev/interactive/shell.html)

Best,
Niklas


More information about the IPython-dev mailing list