Fix so this works with the all themes (oops)
authorTravis Swicegood <development@domain51.com>
Thu, 9 Jan 2014 16:52:14 +0000 (10:52 -0600)
committerTravis Swicegood <development@domain51.com>
Thu, 9 Jan 2014 16:52:14 +0000 (10:52 -0600)
plugins/available/virtualenv.plugin.bash

index 9357839..651bfec 100644 (file)
@@ -19,14 +19,14 @@ function mkvbranch {
   about 'create a new virtualenv for the current branch'
   group 'virtualenv'
 
-  mkvirtualenv --distribute "$(basename `pwd`)@$(git_prompt_info)"
+  mkvirtualenv --distribute "$(basename `pwd`)@$SCM_BRANCH"
 }
 
 function wovbranch {
   about 'sets workon branch'
   group 'virtualenv'
 
-  workon "$(basename `pwd`)@$(git_prompt_info)"
+  workon "$(basename `pwd`)@$SCM_BRANCH"
 }
 
 function wovenv {