Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.18 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.18 KB

Powerline VCSH repo

A Powerline segment for showing the current VCSH repo.

screenshot

Glossary

  • 'V ': where is the current VCSH repo activated

Installation

pip install powerline-vcsh

OR

pip install --user git+git://github.com/taintedkernel/powerline-vcsh

The VCSH repo segment defines a custom highlight group. You will need to define this in your colorscheme (eg: .config/powerline/colorschemes/default.json):

{
    "vcsh_repo":                  { "fg": "white", "bg": "darkcyan", "attrs": [] } }
}

You can activate the VCSH segment by adding to your segment config (eg: .config/powerline/themes/shell/default.json):

{
    "function": "powerline_vcsh.vcsh_repo",
    "priority": 10
}

You will also need to restart powerline for the settings to take effect:

powerline-daemon --replace

License

Licensed under the MIT License