[IPython-dev] ipython bash interaction?

Thomas Kluyver takowl at gmail.com
Wed Sep 25 15:02:58 EDT 2013


On 25 September 2013 11:39, Zoltán Vörös <zvoros at gmail.com> wrote:

> No, it is not. You are right, the PATH that I see from the ipython console
> misses the directories that are set by .bashrc. Is there a way of making
> ipython aware of the bash variables? I thought that everything after ! is
> passed to the OS.


How are you starting IPython? If you start it from inside bash, it should
inherit the environment variables. If you don't, .bashrc won't be read.
However, PR #4260 might help with this if your $SHELL environment variable
is set to bash.

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130925/808e712a/attachment.html>


More information about the IPython-dev mailing list