A Powerline segment for showing the current VCSH repo.
- 'V ': where is the current VCSH repo activated
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
Licensed under the MIT License