Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/santagada/xontrib-powerline
Powerline for Xonsh shell
https://github.com/santagada/xontrib-powerline
powerline shell xonsh xontrib
Last synced: 27 days ago
JSON representation
Powerline for Xonsh shell
- Host: GitHub
- URL: https://github.com/santagada/xontrib-powerline
- Owner: santagada
- License: mit
- Created: 2016-09-15T09:09:05.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-01-29T18:46:42.000Z (almost 4 years ago)
- Last Synced: 2024-11-09T08:43:42.017Z (about 1 month ago)
- Topics: powerline, shell, xonsh, xontrib
- Language: Python
- Size: 47.9 KB
- Stars: 49
- Watchers: 4
- Forks: 21
- Open Issues: 10
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- awesome-xontribs - powerline - Powerline for Xonsh shell.~~ (Prompts)
README
Xontrib Powerline
=================Powerline for Xonsh shell.
.. image:: https://github.com/santagada/xontrib-powerline/raw/master/screenshot.png
Install
-------To install this xontrib first download and install the python package:
.. code:: bash
pip3 install xontrib-powerline
And them load it on your ``.xonshrc``
.. code:: bash
xontrib load powerline
Configuration
-------------There are two variables that can be set, ``PL_PROMPT`` for the right prompt and ``PL_TOOLBAR`` for the bottom toolbar.
They contain a list of sections that can be used separated by ``>``. The value ``!`` means not to use that prompt.Examples:
.. code:: python
$PL_TOOLBAR = 'who>virtualenv>branch>cwd>full_proc'
$PL_TOOLBAR = '!' # for no toolbarTo see all available sections type ``pl_available_sections``, and to commit changes to your prompt execute ``pl_build_prompt``.
More Info
---------read more on the `xontrib docs`_ and if you want to create your own on
the `xontrib tutorial`_Credits
-------This package was created by Leonardo Santagada with Cookiecutter_
and the `laerus/cookiecutter-xontrib`_ project template.The font being used on the screenshot is the incredible `3270 font`_ with injected characters from `nerd fonts`_.
.. _`nerd fonts`: https://github.com/ryanoasis/nerd-fonts
.. _`3270 font`: https://github.com/rbanffy/3270font
.. _`xontrib docs`: http://xon.sh/xontribs.html
.. _`xontrib tutorial`: http://xon.sh/tutorial_xontrib.html
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`laerus/cookiecutter-xontrib`: https://github.com/laerus/cookiecutter-xontrib