diff options
author | Jyrki Pulliainen <jyrki@spotify.com> | 2015-01-07 18:15:00 +0100 |
---|---|---|
committer | Jyrki Pulliainen <jyrki@spotify.com> | 2015-01-07 18:17:29 +0100 |
commit | 833e6f5958b9851d2dbcf8ae706474af4079a25e (patch) | |
tree | bd9cb9d5cacfe4bd481b430d0485b841ef817d98 /plugins/sublime | |
parent | 175b4a807383530aa75145b5b6fdedb3ce1f11f2 (diff) | |
download | zsh-833e6f5958b9851d2dbcf8ae706474af4079a25e.tar.gz zsh-833e6f5958b9851d2dbcf8ae706474af4079a25e.tar.bz2 zsh-833e6f5958b9851d2dbcf8ae706474af4079a25e.zip |
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
Diffstat (limited to 'plugins/sublime')
0 files changed, 0 insertions, 0 deletions