1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-20 03:11:58 +00:00
ohmyzsh/plugins/virtualenvwrapper
Jyrki Pulliainen 833e6f5958 virtualenvwrapper: Deactivate only if in virtualenv
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
2015-01-07 18:17:29 +01:00
..
virtualenvwrapper.plugin.zsh virtualenvwrapper: Deactivate only if in virtualenv 2015-01-07 18:17:29 +01:00