Xontrib-powerline-binding
Powerline binding for xonsh, so you can use your existing powerline prompt in xonsh.
Install
Install using pip
pip install xontrib-powerline-binding
Add to your .xonshrc:
xontrib load powerline_binding
Usage
Uses powerline to setup you $PROMPT and $RIGHT_PROMPT.
Configuration
Add xonsh (and optionally xonshtoolbar) section to your powerline config.json:
{
"ext": {
"xonsh": {
"theme": "mytheme"
},
"xonshtoolbar": {
"theme": "mytheme"
}
}
}
Then create themes/xonsh/mytheme.json (and themes/xonshtoolbar/mytheme.json) with your theme configuration (see Powerline documentation).
You can find my example powerline configuration in the example-powerline-config folder.
Extra segments
Currently includes the following xonsh specific powerline segments:
powerline_xonsh.exec_time
Execution time of the last command.
Highlight group used: exec_time
Metadata
Release files for xontrib-powerline-binding 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xontrib-powerline-binding-0.3.2.tar.gz | 3.8 kB | Without provenance | Details for xontrib-powerline-binding-0.3.2.tar.gz |
Release files / xontrib-powerline-binding-0.3.2.tar.gz
| Download URL | xontrib-powerline-binding-0.3.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97b55c1afb3ec01adb3b02e89fc1f600b972d718c7aba7a7d1af18503317e203
|
|
BLAKE2b-256 checksum How to use checksums |
f750a13d72ff68a3e86ba3cb27a8cd775f94cbe22cde0bb60b3e76d3aa64cc26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.28.1 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/21.8.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.10.5
|
Security for xontrib-powerline-binding 0.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.