I use IPython 0.13 on OS X 10.6 and would like to do the following: I have different project folders e.g. ~/dev/proj1
, ~/dev/proj2
. Now I want to start IPython in one of these folders without changing to it. My first idea was to setup a new shell alias. In order to do so, I updated my bashrc
with the following line:
proj1="~/dev/proj1/ipython"
Unfortunately it did not work. What I got instead was:
~/dev/proj1/ipython: No such file or directory
I do not really understand this error, because IPython can be started from any directory by simply typing ipython
. And the folders do exist for sure. So, I wondered if there is a way to supply the starting directory as an argument to IPython like:
ipython start-dir="~/dev/proj1/
Any ideas to solve this one?