Powerline for Xonsh shell.
Install
To install this xontrib first download and install the python package:
pip3 install xontrib-powerline
And them load it on your .xonshrc
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:
$PL_TOOLBAR = 'who>virtualenv>branch>cwd>full_proc'
$PL_TOOLBAR = '!' # for no toolbar
To 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.
Release files for xontrib-powerline 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xontrib-powerline-0.4.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xontrib_powerline-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / xontrib-powerline-0.4.0.tar.gz
| Download URL | xontrib-powerline-0.4.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f67ff160ef646e89ea77843c5c64a70b53a5dbfefb142cf21dbea14e0d0ca01c
|
|
BLAKE2b-256 checksum How to use checksums |
b613381dbd03e061005596a1320eb70ae48c5b0d50e51b3fd8e57d945f63ca8d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / xontrib_powerline-0.4.0-py3-none-any.whl
| Download URL | xontrib_powerline-0.4.0-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b08a487fe5cf9358b0813ac00b633b06bbf9ec32f7350ed069201fbe2364832
|
|
BLAKE2b-256 checksum How to use checksums |
4658f02d442874261e5f374f6802a51cfd8a4d14910851a1c9129a41aa1ea1c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |