Powerline binding for xonsh
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for xontrib-powerline-binding-0.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97b55c1afb3ec01adb3b02e89fc1f600b972d718c7aba7a7d1af18503317e203 |
|
MD5 | 0ce18198a46e3b481dc3071a7b050ce1 |
|
BLAKE2b-256 | f750a13d72ff68a3e86ba3cb27a8cd775f94cbe22cde0bb60b3e76d3aa64cc26 |