pypa/virtualenv — pull request #236 by jpenney (2012-03-06 22:32:03+00:00)
Title: relocatable activate for bash, dash, zsh, ksh, fish, Windows

Updated activate.bat, activate.fish, and activate.sh that set VIRTUAL_ENV based on where the the activate.* file is sourced or executed from.

See: https://github.com/pypa/virtualenv/issues/11

Also contains tempfile -> mktemp change from https://github.com/pypa/virtualenv/issues/8 since I needed to in order to verify the activate.fish change.