From 0fd1ad79e768aa6dc33689a3a05f293c45256275 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 25 May 2017 17:02:43 -0500 Subject: [PATCH] vactivate spawns a shell in a subprocess for easier exiting, and prompt customization --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index 9201fd3..f47da37 100644 --- a/.bashrc +++ b/.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 }