From ff94cb6aed4b0d9261aa0d9064df5acaf2256ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20W=C3=B3jcik?= Date: Tue, 12 Jan 2021 20:59:23 +0100 Subject: [PATCH] Fix an issue that caused wrong name of venv in prompt. --- bashhacks/prompt.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashhacks/prompt.bash b/bashhacks/prompt.bash index 102a2b9..ba63771 100644 --- a/bashhacks/prompt.bash +++ b/bashhacks/prompt.bash @@ -19,7 +19,7 @@ function _ps_git_branch_and_status { function _ps_virtual_env { if [ "$VIRTUAL_ENV" != "" ];then - echo " `basename $VIRTUAL_ENV`" + echo " `basename "$VIRTUAL_ENV"`" fi }