diff options
Diffstat (limited to 'Lib/venv/scripts/posix/activate')
-rw-r--r-- | Lib/venv/scripts/posix/activate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/venv/scripts/posix/activate b/Lib/venv/scripts/posix/activate index c241450c0b0..7bbffd9ba69 100644 --- a/Lib/venv/scripts/posix/activate +++ b/Lib/venv/scripts/posix/activate @@ -54,8 +54,8 @@ fi if [ -z "$VIRTUAL_ENV_DISABLE_PROMPT" ] ; then _OLD_VIRTUAL_PS1="$PS1" - if [ "x__VENV_NAME__" != x ] ; then - PS1="__VENV_NAME__$PS1" + if [ "x__VENV_PROMPT__" != x ] ; then + PS1="__VENV_PROMPT__$PS1" else if [ "`basename \"$VIRTUAL_ENV\"`" = "__" ] ; then # special case for Aspen magic directories |