diff options
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-02-13 16:27:25 (GMT) |
|---|---|---|
| committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-02-13 16:27:25 (GMT) |
| commit | 6f79c2c826e825d3c0ecb48d4026dbf06d6872e1 (patch) | |
| tree | e076c175dad68667f414f8647f1cd069a8a12928 | |
| parent | bc1ee460dcbe5811ebb10a6cacd8d3670846f039 (diff) | |
| parent | b2a2aa7664e1cef014ebba5e4207552ac15b943c (diff) | |
| download | cpython-6f79c2c826e825d3c0ecb48d4026dbf06d6872e1.zip cpython-6f79c2c826e825d3c0ecb48d4026dbf06d6872e1.tar.gz cpython-6f79c2c826e825d3c0ecb48d4026dbf06d6872e1.tar.bz2 | |
Fixes #26348: Merged fix from 3.5.
| -rw-r--r-- | Lib/venv/scripts/posix/activate.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/venv/scripts/posix/activate.fish b/Lib/venv/scripts/posix/activate.fish index 45391aa..fb7f5c0 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 |
