1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

Merge pull request #4492 from arvindch/tweak-pyenv-plugin

Tweak pyenv plugin
This commit is contained in:
Robby Russell 2015-10-15 11:33:16 -07:00
commit aa15ebad3e

View file

@ -17,7 +17,8 @@ for pyenvdir in "${pyenvdirs[@]}" ; do
FOUND_PYENV=1
export PYENV_ROOT=$pyenvdir
export PATH=${pyenvdir}/bin:$PATH
eval "$(pyenv init --no-rehash - zsh)"
eval "$(pyenv init - zsh)"
eval "$(pyenv virtualenv-init - zsh)"
function pyenv_prompt_info() {
echo "$(pyenv version-name)"