Source

virtualenvwrapper / virtualenvwrapper_bashrc

Diff from to

virtualenvwrapper_bashrc

 # List the available environments.
 function virtualenvwrapper_show_workon_options () {
     virtualenvwrapper_verify_workon_home || return 1
-	find "$WORKON_HOME" -maxdepth 1 -mindepth 1 -type d -exec basename '{}' \; | sort
+    (cd "$WORKON_HOME"; ls */bin/activate) | sed 's|/bin/activate||' | sort
 }
 
 # List or change working virtual environments