A Powerline segment for showing pyenv and virtualenv(used by pipenv) version
pip install powerline-pyenv
Activate the pyenv
segment in ~/.config/powerline/themes/shell/default.json
{
"priority": 10,
"function": "powerline_pyenv.pyenv"
}
Config highlight groups in colorscheme files, e.g. ~/.config/powerline/colorschemes/shell/nord.json
:
{
"groups": {
"pyenv:version": {
"bg": "gray1",
"fg": "green"
}
}
}
{
"groups": {
"pyenv:version": {
"fg": "solarized:green",
"bg": "solarized:base2"
},
}
}