summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2018-07-16 18:01:00 +0300
committerGitHub <noreply@github.com>2018-07-16 18:01:00 +0300
commit22a761208d24027a26daa947a7b4034365fefc16 (patch)
treeccfac74e0a95da5c4a3e41b900b179fdb047d66c /README.md
parenta7b3f310d3c1e5306332dd15401efb9631c76bed (diff)
parent45fe401dc249c14ba6459faa5358d248baa63df8 (diff)
Merge pull request #900 from AlexaraWu/patch/pyenv
Fix `pyenv` segment
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 56d0c34c..9989d9cc 100644
--- a/README.md
+++ b/README.md
@@ -572,6 +572,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.