1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-29 17:20:09 +00:00

Merge pull request #4508 from Superbil/master

Fixd bug for pyenv plugin
This commit is contained in:
Marc Cornellà 2015-10-20 08:28:13 +02:00
commit 45f0a2800b

View file

@ -18,7 +18,10 @@ 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 - zsh)" eval "$(pyenv init - zsh)"
eval "$(pyenv virtualenv-init - zsh)"
if pyenv commands | command grep -q virtualenv-init; then
eval "$(pyenv virtualenv-init - zsh)"
fi
function pyenv_prompt_info() { function pyenv_prompt_info() {
echo "$(pyenv version-name)" echo "$(pyenv version-name)"