Commits

Doug Hellmann committed 82862ed

go ahead and change to the environment after creating it

--HG--
extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401354

Comments (0)

Files changed (1)

virtualenvwrapper_bashrc

 function mkvirtualenv () {
     verify_workon_home
     (cd "$WORKON_HOME"; virtualenv $*)
+    workon "${@:-1}"
 }
 
 # Remove an environment, in the WORKON_HOME.