Fix an issue that caused wrong name of venv in prompt.
This commit is contained in:
parent
a0e67a0bce
commit
ff94cb6aed
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user