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
if[[!$DISABLE_VENV_CD-eq 1 ]];then
if[[-f"$wrapsource"]];then
# Automatically activate Git projects' virtual environments based on the
source$wrapsource
# 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