mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-02-23 05:28:57 +08:00

If user manually deactivates the virtualenv when using this mode, zsh will produce following error: deactivate:12: command not found: virtualenv_deactivate To avoid this, check that the VIRTUAL_ENV flag is set before trying to automatically deactivate the virtual environment. Fixes #2185