Powerline for Xonsh shell
Clone or download
santagada v0.4.0
- new pl_set_mode that lets you see/choose a separator mode
- pl_available_sections shows the sections
Latest commit 935fe70 Mar 19, 2017
Permalink
Failed to load latest commit information.
xontrib v0.4.0 Mar 19, 2017
.gitignore first version Sep 15, 2016
LICENSE first version Sep 15, 2016
README.rst bump to .2 to fix readme Mar 8, 2017
screenshot.png hopefully version 0.2 Mar 8, 2017
setup.py v0.4.0 Mar 19, 2017

README.rst

Xontrib Powerline

Powerline for Xonsh shell.

https://github.com/santagada/xontrib-powerline/raw/master/screenshot.png

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.