diff options
author | Moritz Vetter <moritz.vetter@gmx.de> | 2021-01-20 18:42:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-20 18:42:55 +0100 |
commit | e437a463ac5c072e90e49b912ed15729650a52d8 (patch) | |
tree | 5f53afd9899ecf53461fb386753aad39f981ca36 /docs | |
parent | 8a80835f72670e02563c7c56e3812fec1037540c (diff) |
perf(python): Lazy eval of python version command (#2158)
* perf(python): evaluate version lazily
* fix(python): update format string
* fix: use suggested format strings
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/config/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/config/README.md b/docs/config/README.md index da64c2ffc..e99da5fac 100644 --- a/docs/config/README.md +++ b/docs/config/README.md @@ -2050,7 +2050,7 @@ The module will be shown if any of the following conditions are met: | Option | Default | Description | | -------------------- | ----------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `format` | `'via [${symbol}${pyenv_prefix}${version}( \($virtualenv\))]($style) '` | The format for the module. | +| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\))]($style)'` | The format for the module. | | `symbol` | `"🐍 "` | A format string representing the symbol of Python | | `style` | `"yellow bold"` | The style for the module. | | `pyenv_version_name` | `false` | Use pyenv to get Python version | |