From 8a95cedc3b200762f44d1c4e9475240f0d61c8a1 Mon Sep 17 00:00:00 2001 From: Arvind Chembarpu Date: Thu, 15 Oct 2015 08:43:40 +0530 Subject: [PATCH] Init pyenv virtualenvs too --- plugins/pyenv/pyenv.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/pyenv/pyenv.plugin.zsh b/plugins/pyenv/pyenv.plugin.zsh index b3dc7aa17..706aad3cf 100644 --- a/plugins/pyenv/pyenv.plugin.zsh +++ b/plugins/pyenv/pyenv.plugin.zsh @@ -18,6 +18,7 @@ for pyenvdir in "${pyenvdirs[@]}" ; do export PYENV_ROOT=$pyenvdir export PATH=${pyenvdir}/bin:$PATH eval "$(pyenv init --no-rehash - zsh)" + eval "$(pyenv virtualenv-init - zsh)" function pyenv_prompt_info() { echo "$(pyenv version-name)"