add a few more helpers for virtualenv
This commit is contained in:
@@ -8,3 +8,12 @@ function mkvenv {
|
||||
cwd=`basename \`pwd\``
|
||||
mkvirtualenv --no-site-packages --distribute $cwd
|
||||
}
|
||||
|
||||
# create a new virtualenv for the branch you're currently in
|
||||
function mkvbranch {
|
||||
mkvirtualenv --no-site-packages --distribute "$(basename `pwd`)@$(git_prompt_info)"
|
||||
}
|
||||
|
||||
function wovbranch {
|
||||
workon "$(basename `pwd`)@$(git_prompt_info)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user