fix ramses, mairan, and agnoster shell quoting with virtual env

This commit is contained in:
Scott Jackson
2020-01-24 10:06:19 -05:00
parent d8d6109e43
commit 8472675007
3 changed files with 4 additions and 3 deletions

View File

@@ -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
}