ipython/ipython — pull request #1951 by minrk (2012-06-13 21:34:40+00:00)
Title: minor notebook startup/notebook-dir adjustments

* change inaccurate / distressing "Overwriting profile..." log message
* `ipython notebook path` results in setting notebook-dir if it's a dir,
rather than unconditionally setting file-to-run
* file-to-run overrides no-browser
* kernels start in the notebook dir, rather than the Server's cwd

The last one is what I always expected, but never realized we didn't do,
because one usually starts the notebook with `ipython notebook` from
a particular location.