1. barberj
  2. virtualenvwrapper

Commits

Doug Hellmann  committed 3c8978e

go ahead and change to the environment after creating it

  • Participants
  • Parent commits d37a9f0
  • Branches default

Comments (0)

Files changed (1)

File virtualenvwrapper_bashrc

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