powerline-vcsh

A Powerline segment for showing the current VCSH repo


Keywords
powerline, vcsh, prompt
License
MIT
Install
pip install powerline-vcsh==1.0.0

Documentation

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