Issue #315 resolved
Harrison Katz
created an issue

Brand new environment: ZDOTDIR=/ zsh

source /usr/local/bin/virtualenvwrapper.sh

mkdir projects/ && cd projects/

mkdir env_a
mkdir env_b

cd env_a && mkvirtualenv env_a && cd ..
cd env_b && mkvirtualenv env_b && cd ..

echo "echo 'env_a postdeactivate' >> /tmp/postdeactivate.log" >> ~/.virtualenvs/env_a/bin/postdeactivate
echo "echo 'env_b postdeactivate' >> /tmp/postdeactivate.log" >> ~/.virtualenvs/env_b/bin/postdeactivate

When running workon env_b from env_a, the postdeactivate script is not sourced.

Reproduce: ZDOTDIR=/ zsh

source /usr/local/bin/virtualenvwrapper.sh

workon env_a
cat /tmp/postdeactivate.log
workon env_b
cat /tmp/postdeactivate.log

Comments (3)

  1. Log in to comment