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 example configuration in the example
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
Close
Hashes for xontrib-powerline-binding-0.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7282cf9dc60696dff677b4b31db572587073a841e35ea8da88dae54b2039b13c |
|
MD5 | dcc3d7aa78842e410f38ea33b387c0ea |
|
BLAKE2b-256 | aa604922e538ec6c01a4219092ec2089c13c654e9f79d73444a69fedcc52c4e9 |