add mkvenv shortcut

This commit is contained in:
Travis Swicegood
2011-11-15 10:47:37 -06:00
parent 7dca9ae871
commit aa622e8c34

View File

@@ -3,3 +3,8 @@
# make sure virtualenvwrapper is enabled if availalbe
[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
# create a new virtualenv for this directory
function mkvenv {
cwd=`basename \`pwd\``
mkvirtualenv --no-site-packages --distribute $cwd
}