Skip to content

15cm/powerline-pyenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Powerline segment for showing pyenv version

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages