diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-02-13 16:26:35 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2016-02-13 16:26:35 (GMT) |
commit | b2a2aa7664e1cef014ebba5e4207552ac15b943c (patch) | |
tree | 84a62685ac32314dab19cc86acf2d04d770ba46b /Lib | |
parent | 06c45e6e9c9e199a39b874338fe7cdd21d1925b2 (diff) | |
download | cpython-b2a2aa7664e1cef014ebba5e4207552ac15b943c.zip cpython-b2a2aa7664e1cef014ebba5e4207552ac15b943c.tar.gz cpython-b2a2aa7664e1cef014ebba5e4207552ac15b943c.tar.bz2 |
Fixes #26348: Corrected typos in activate.fish script.
Diffstat (limited to 'Lib')
-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 |