Marc Cornellà
42afa6e2ea
fix(pyenv): quote % in `pyenv_prompt_info`
4 years ago
Kaede Hoshikawa
c6c364317d
fix(pyenv): fix pyenv-virtualenv detection under macOS.
5 years ago
Terry
19710a2d17
fix(pyenv): do not warn if PYENV_ROOT is undefined ( #10162 )
...
Co-authored-by: Terry Moschou <terry.moschou@fivecast.com>
5 years ago
Marc Cornellà
1b03896a0e
feat(pyenv): don't load pyenv-virtualenv with `ZSH_PYENV_VIRTUALENV=false`
...
Closes #9443
Co-authored-by: Pandu POLUAN <pepoluan@gmail.com>
5 years ago
Marc Cornellà
823be4ef5f
feat(pyenv): silence bad config warning with `ZSH_PYENV_QUIET=true`
5 years ago
Marc Cornellà
c08fb77c2f
fix(pyenv): properly load pyenv shims and warn of broken configuration
...
Closes #10133
Co-authored-by: Chloé “Matcha” <chloe.desoutter@gmail.com>
5 years ago
Marc Cornellà
b85e1dd5d6
fix(pyenv): fix for checking if pyenv-virtualenv is installed
...
Fixes #8467
5 years ago
Marc Cornellà
10f3e0d4d4
docs(pyenv): document necessity to logout after PATH settings
5 years ago
Marc Cornellà
5377cc37c0
fix(pyenv): fix for ignoring pyenv-win commands
...
The previous fix ignored any pyenv command found in $PATH while on
WSL, regardless of whether it was correctly set up or not.
This change only ignores the pyenv command if it's proved to come
from pyenv-win by looking at its full path.
5 years ago
Neil Girdhar
c8a258698d
fix(pyenv): fix pyenv PATH settings with a warning ( #9935 )
...
This change fixes the setting of $PATH for pyenv and its shims, while warning
the user about non-interactive shells.
Co-authored-by: Marc Cornellà <hello@mcornella.com>
5 years ago
Randall Leeds
3667f94538
pyenv: run pyenv init with --no-rehash ( #8917 )
...
Add --no-rehash to the pyenv init command, which was removed in [#4492 ].
The rehash was likely disabled because it can affect shell startup times.
It should only be necessary when installing or removing Python versions.
See [pyenv/pyenv#784 ] and [sorin-ionescu/prezto#1603 ] for more detail.
[#4492 ]: https://github.com/ohmyzsh/ohmyzsh/pull/4492
[pyenv/pyenv#784 ]: https://github.com/pyenv/pyenv/issues/784
[sorin-ionescu/prezto#1603 ]: https://github.com/sorin-ionescu/prezto/pull/1603
6 years ago
Marc Cornellà
9703111b82
pyenv: ignore $PATH pyenv if on WSL
...
This solves the problem where the used pyenv is actually the one in a
Windows folder, instead of in WSL.
Fixes #9034
6 years ago
Vlad Dmitrievich
aaa87063a2
pyenv: only run if pyenv not in $PATH ( #8462 )
...
This is needed if in between the update of `$PATH` the `$commands` parameter hasn't
been updated, i.e. if there was no `rehash` or `hash -rf` or automatic rehash.
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Joe Rattazzi
d5e7040ebd
pyenv: add README ( #8224 )
7 years ago
Thomas Kriechbaumer
20ecca2ba9
rbenv: improve rbenv loading based on pyenv ( #7626 )
7 years ago
Oleg Smelov
a43cef3404
pyenv: detect pyenv from Homebrew faster ( #7670 )
7 years ago
Marc Cornellà
0aa645f803
pyenv: search the pyenv command if not found ( #6811 )
8 years ago
Terrance Kennedy
8efcf2776b
pyenv plugin refactor (8x faster) ( #6165 )
...
* Refactor pyenv plugin to use PATH
8 years ago
Luke Lazurite
dfc03c7bb6
optimize load of pyenv with homebrew ( #6142 )
8 years ago
Superbil
2c54428d6e
Fixd bug for pyenv plugin
...
Check pyenv-virtualenv can eval before use it.
Signed-off-by: Superbil <superbil@gmail.com>
11 years ago
Arvind Chembarpu
8a362b2b1f
Enable pyenv rehash
11 years ago
Arvind Chembarpu
8a95cedc3b
Init pyenv virtualenvs too
11 years ago
Stig Sandbeck Mathisen
613d116cda
Add pyenv plugin
13 years ago