aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlexara Wu <alexarawu@outlook.com>2018-07-11 15:55:27 +0300
committerAlexara Wu <alexarawu@outlook.com>2018-07-11 15:55:27 +0300
commitfc39d9d6b88ad02b1cebb1284aaa272e5b2af42c (patch)
treed5ddedcf708515ad6263c256c01a4dab195096ac /README.md
parentd031b3e03522d47607173ebda89e7558b622a322 (diff)
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 90680ac8..88633dc2 100644
--- a/README.md
+++ b/README.md
@@ -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.