[IPython-dev] Using ipython as shell replacement

Niklas Semmler metaswirl at gmail.com
Mon Mar 11 07:29:44 EDT 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