diff options
author | Alexara Wu <alexarawu@outlook.com> | 2018-07-11 15:55:27 +0300 |
---|---|---|
committer | Alexara Wu <alexarawu@outlook.com> | 2018-07-11 15:55:27 +0300 |
commit | fc39d9d6b88ad02b1cebb1284aaa272e5b2af42c (patch) | |
tree | d5ddedcf708515ad6263c256c01a4dab195096ac /README.md | |
parent | d031b3e03522d47607173ebda89e7558b622a322 (diff) |
Fix `pyenv` segment
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -561,6 +561,19 @@ Variable | Default Value | Description | |----------|---------------|-------------| |`POWERLEVEL9K_RBENV_PROMPT_ALWAYS_SHOW`|`false`|Set to true if you wish to show the rbenv segment even if the current Ruby version is the same as the global Ruby version| +##### pyenv + +This segment shows the version of Python being used when using `pyenv` to change your current Python stack. + +The `PYENV_VERSION` environment variable will be used if specified. Otherwise it figures out the version being used by taking the output of the `pyenv version-name` command. + +* If `pyenv` is not in $PATH, nothing will be shown. +* If the current Python version is the same as the global Python version, nothing will be shown. + +| Variable | Default Value | Description | +|----------|---------------|-------------| +|`POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW`|`false`|Set to true if you wish to show the pyenv segment even if the current Python version is the same as the global Python version| + ##### rspec_stats See [Unit Test Ratios](#unit-test-ratios), below. |