mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-18 16:56:45 +08:00
Init pyenv virtualenvs too
This commit is contained in:
1 parent
306e3e7ea0
commit
8a95cedc3b
1 file changed
+1
@@ -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)"
|
||||
|
||||
Reference in new issue
Block a user