Fix virtualenv mkvbranch and wovbranch to include branch name

pull/276/head
Scott Drennan 2014-03-15 11:35:35 -07:00
parent 1ec1c938b1
commit c879921457
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@ function mkvbranch {
about 'create a new virtualenv for the current branch'
group 'virtualenv'
scm_prompt_info >/dev/null 2>&1
mkvirtualenv --distribute "$(basename `pwd`)@$SCM_BRANCH"
}
@ -26,6 +27,7 @@ function wovbranch {
about 'sets workon branch'
group 'virtualenv'
scm_prompt_info >/dev/null 2>&1
workon "$(basename `pwd`)@$SCM_BRANCH"
}