Skip to main content

A Powerline segment for showing pyenv version

Project description

A Powerline segment for showing pyenv version

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"
        },
    }
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerline-pyenv-0.1.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distributions

powerline_pyenv-0.1.0-py3.7.egg (2.3 kB view hashes)

Uploaded Source

powerline_pyenv-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page