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