From: Vinay Sajip Date: Sat, 13 Feb 2016 16:26:35 +0000 (+0000) Subject: Fixes #26348: Corrected typos in activate.fish script. X-Git-Tag: v3.6.0a1~610^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2a2aa7664e1cef014ebba5e4207552ac15b943c;p=python Fixes #26348: Corrected typos in activate.fish script. --- diff --git a/Lib/venv/scripts/posix/activate.fish b/Lib/venv/scripts/posix/activate.fish index 45391aa01c..fb7f5c0db9 100644 --- a/Lib/venv/scripts/posix/activate.fish +++ b/Lib/venv/scripts/posix/activate.fish @@ -55,8 +55,8 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" # with the original prompt function renamed, we can override with our own. function fish_prompt # Prompt override? - if test -n "__VENV_PROMPT__" - printf "%s%s%s" "__VENV_PROMPT__" (set_color normal) (_old_fish_prompt) + if test -n "$__VENV_PROMPT__" + printf "%s%s%s" "$__VENV_PROMPT__" (set_color normal) (_old_fish_prompt) return end # ...Otherwise, prepend env