A tiny virtualenv wrapper

Tymm shared his bash function for assisting with virtualenvs. I’ve been using it instead of virtualenvwrapper. Typing `pye` will list your virtualenvs, and typing `pye envname` will activate one of them:

# Enable a python virtualenv
function pye() { 
   if [[ -z "${1}" ]]; then
       echo -e "\x1b[01;34mAvailable virtualenvs:\x1b[00m"
       (cd ~/pyenvs && for i in *; do echo -e "\x1b[01;36m ${i} \x1b[00m"; done)
   else
       . ~/pyenvs/"${1}"/bin/activate; 
   fi
}