update plugin management

This commit is contained in:
Erich Smith
2012-05-13 08:37:31 -04:00
parent 8051a8520e
commit 08e439c4f0
18 changed files with 198 additions and 167 deletions

View File

@@ -8,7 +8,7 @@ about-plugin 'virtualenvwrapper helper functions'
function mkvenv {
about 'create a new virtualenv for this directory'
group virtualenv
group 'virtualenv'
cwd=`basename \`pwd\``
mkvirtualenv --no-site-packages --distribute $cwd
@@ -17,14 +17,14 @@ function mkvenv {
function mkvbranch {
about 'create a new virtualenv for the current branch'
group virtualenv
group 'virtualenv'
mkvirtualenv --no-site-packages --distribute "$(basename `pwd`)@$(git_prompt_info)"
}
function wovbranch {
about 'sets workon branch'
group virtualenv
group 'virtualenv'
workon "$(basename `pwd`)@$(git_prompt_info)"
}