ipython/ipython — pull request #4880 by minrk (2014-01-26 21:33:03+00:00)
Title: set profile name from profile_dir

in case profile_dir is set directly (e.g. in the notebook)

closes #4238