vactivate spawns a shell in a subprocess for easier exiting, and prompt customization

This commit is contained in:
David Thurstenson 2017-05-25 17:02:43 -05:00
parent 838137e2bb
commit 0fd1ad79e7
1 changed files with 1 additions and 1 deletions

View File

@ -178,5 +178,5 @@ vactivate() {
if [[ ! -d $path ]]; then
python -m venv $path --prompt "venv: $1"
fi
source $path/bin/activate
source $path/bin/activate; bash; deactivate
}