Merge pull request #1552 from jtyr/jtyr-ipython_config

More specific instructions for iPython
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2016-03-22 15:11:36 +03:00
commit d7e913280c
1 changed files with 3 additions and 2 deletions

View File

@ -114,11 +114,12 @@ For IPython<0.11 add the following lines to :file:`.ipython/ipy_user_conf.py`:
# create skeleton ipy_user_conf.py file): # create skeleton ipy_user_conf.py file):
powerline_setup() powerline_setup()
For IPython>=0.11 add the following line to :file:`ipython_config.py` file in For IPython>=0.11 add the following line to
the used profile: :file:`~/.ipython/profile_default/ipython_config.py` file in the used profile:
.. code-block:: Python .. code-block:: Python
c = get_config()
c.InteractiveShellApp.extensions = [ c.InteractiveShellApp.extensions = [
'powerline.bindings.ipython.post_0_11' 'powerline.bindings.ipython.post_0_11'
] ]