for wrapsource in"/usr/bin/virtualenvwrapper.sh""/usr/local/bin/virtualenvwrapper.sh""/usr/local/share/python/virtualenvwrapper.sh""/etc/bash_completion.d/virtualenvwrapper";do
if[[-e$wrapsource]];then
WRAPPER_FOUND=1
source$wrapsource
wrapsource=`which virtualenvwrapper.sh`
if[[!$DISABLE_VENV_CD-eq 1 ]];then
# Automatically activate Git projects' virtual environments based on the
# directory name of the project. Virtual environment name can be overridden
# by placing a .venv file in the project root with a virtualenv name in it