I found that without adding eval "$(pyenv virtualenv-init -)" to .zshrc file, I could not use the following commands:
pyenv activate <name>
pyenv deactivate
The eval "$(pyenv virtualenv-init -)" is too slow to execute when I launch zsh, is there any alternatives?