add mkvenv shortcut
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user