Merge 84a87d99dd6abeae9e2e533ff99d591679aa04e0 into 574bb1887b9f27b3c046c6b74a1f3ed75b115a75

This commit is contained in:
Santiago Zarate 2024-11-08 21:51:06 -06:00 committed by GitHub
commit 6d5ea3af14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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