Browse Source

Fix an issue that caused wrong name of venv in prompt.

Tomek Wójcik 1 year ago
parent
commit
ff94cb6aed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bashhacks/prompt.bash

+ 1 - 1
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
 }