flyte
3/13/2015 - 1:41 PM

Add this to .bashrc to make functions to create and enable virtualenvs based on the current directory name.

Add this to .bashrc to make functions to create and enable virtualenvs based on the current directory name.

mkenv() {
	mkvirtualenv $(basename $(pwd))
}

wkon() {
	workon $(basename $(pwd))
}

rmenv() {
	rmvirtualenv $(basename $(pwd))
}