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
Built Distribution
Hashes for xontrib-powerline-binding-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 392ddda92eec2b8d506df86473cfc246b53e407b7c904d534c0d25a0bd72bfa7 |
|
MD5 | ac17a4b366dd768fa1be1f7f8f724f51 |
|
BLAKE2b-256 | 72d460858440bcf4c45a118a9ecfacf7fac7421afdb257a8031bea3bbf36d0f4 |
Hashes for xontrib_powerline_binding-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873d6b2b36aaf763474d2db36e01a0a796fc93b07158935d7a19179bf86f053d |
|
MD5 | 08390441d6b2cdc07e2c1ac61969efba |
|
BLAKE2b-256 | 5d1498a926db441c1b6c309628b5fe056ae5973f39e21188bea8ff7f241bd111 |