vactivate spawns a shell in a subprocess for easier exiting, and prompt customization
This commit is contained in:
parent
838137e2bb
commit
0fd1ad79e7
2
.bashrc
2
.bashrc
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user