mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-19 21:41:07 +01:00
Init pyenv virtualenvs too
This commit is contained in:
parent
306e3e7ea0
commit
8a95cedc3b
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ for pyenvdir in "${pyenvdirs[@]}" ; do
|
||||||
export PYENV_ROOT=$pyenvdir
|
export PYENV_ROOT=$pyenvdir
|
||||||
export PATH=${pyenvdir}/bin:$PATH
|
export PATH=${pyenvdir}/bin:$PATH
|
||||||
eval "$(pyenv init --no-rehash - zsh)"
|
eval "$(pyenv init --no-rehash - zsh)"
|
||||||
|
eval "$(pyenv virtualenv-init - zsh)"
|
||||||
|
|
||||||
function pyenv_prompt_info() {
|
function pyenv_prompt_info() {
|
||||||
echo "$(pyenv version-name)"
|
echo "$(pyenv version-name)"
|
||||||
|
|
Loading…
Reference in a new issue