Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Powerline for Xonsh shell

Project description

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.

Project details


Release history Release notifications

This version

0.4.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xontrib-powerline-refined, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size xontrib_powerline_refined-0.4.1-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size xontrib-powerline-refined-0.4.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page