Skip to content

Commit 82862ed

Browse files
committed
go ahead and change to the environment after creating it
--HG-- extra : convert_revision : svn%3A98f53aa3-d424-0410-b225-a548b0275c4d/Projects/virtualenvwrapper/trunk%401354
1 parent c0fa506 commit 82862ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

virtualenvwrapper_bashrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function verify_workon_home () {
4747
function mkvirtualenv () {
4848
verify_workon_home
4949
(cd "$WORKON_HOME"; virtualenv $*)
50+
workon "${@:-1}"
5051
}
5152

5253
# Remove an environment, in the WORKON_HOME.

0 commit comments

Comments
 (0)