fix ramses, mairan, and agnoster shell quoting with virtual env
This commit is contained in:
@@ -210,7 +210,8 @@ prompt_virtualenv() {
|
||||
if [[ -n $VIRTUAL_ENV ]]; then
|
||||
color=cyan
|
||||
prompt_segment $color $PRIMARY_FG
|
||||
prompt_segment $color white "$(basename $VIRTUAL_ENV)"
|
||||
ve=`basename "$VIRTUAL_ENV"`
|
||||
prompt_segment $color white "$ve"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user