mirror of
https://github.com/powerline/powerline.git
synced 2025-04-08 19:25:04 +02:00
Merge 84a87d99dd6abeae9e2e533ff99d591679aa04e0 into 574bb1887b9f27b3c046c6b74a1f3ed75b115a75
This commit is contained in:
commit
6d5ea3af14
@ -40,6 +40,14 @@ absolute path to the Powerline installation directory (see :ref:`repository root
|
||||
|
||||
in the bash configuration file. Without ``POWERLINE_BASH_*`` variables PS2
|
||||
and PS3 prompts are computed exactly once at bash startup.
|
||||
|
||||
In the case you are using a rolling linux distribution, where python version
|
||||
can change quite often or if you are sharing multiple the same config files
|
||||
across multiple machines, the ``{{repository-root}}`` could be set like this:
|
||||
|
||||
.. code-block:: bash
|
||||
PYTHON_SITE_PATH=$(python -m site --user-site)
|
||||
. $PYTHON_SITE_PATH/powerline/bindings/bash/powerline.sh
|
||||
|
||||
.. warning::
|
||||
At maximum bash continuation PS2 and select PS3 prompts are computed each
|
||||
|
Loading…
x
Reference in New Issue
Block a user