powerline-pyenv

A Powerline segment for showing pyenv version


Keywords
powerline, python
License
MIT
Install
pip install powerline-pyenv==0.1.3

Documentation

A Powerline segment for showing pyenv and virtualenv(used by pipenv) version

Screenshot

Installation

pip install powerline-pyenv

Usage

Segment

Activate the pyenv segment in ~/.config/powerline/themes/shell/default.json

{
    "priority": 10,
    "function": "powerline_pyenv.pyenv"
}

Colorscheme

Config highlight groups in colorscheme files, e.g. ~/.config/powerline/colorschemes/shell/nord.json:

Dark(Nord)

{
    "groups": {
        "pyenv:version": {
            "bg": "gray1",
            "fg": "green"
        }
    }
}

Light(Solarized Light)

{
    "groups": {
        "pyenv:version": {
            "fg": "solarized:green",
            "bg": "solarized:base2"
        },
    }
}