Powerline

This commit is contained in:
2021-06-24 15:31:04 -07:00
parent 66e10dc4cc
commit 08a09d522d
7 changed files with 361 additions and 0 deletions

17
powerline/README.md Normal file
View File

@@ -0,0 +1,17 @@
# Example configuration
This is an example `powerline` configuration that I'm using at the moment. To use it, copy all of its content under `~/.config/powerline` (or `$XDG_CONFIG_HOME/powerline`).
## Detailed steps
```
$ pip install powerline-status xontrib-powerline-binding powerline-gitstatus git+https://github.com/shimtom/powerline-exitstatus
$ mkdir -p ~/.config/powerline
# standing in the root of the cloned repository
$ cp example-powerline-config/* ~/.config/powerline/
$ echo 'xontrib load powerline_binding' >> ~/.xonshrc
```
## Orange underline issue
By default `powerline` uses non-breaking-spaces, but some terminals mark them (with orange underline for example). You can turn that off in your main powerline configuration by setting `use_non_breaking_spaces` to `false`. See the `powerline` documentation for reference: https://powerline.readthedocs.io/en/master/configuration/reference.html