mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Fixes #26348: Corrected typos in activate.fish script.
This commit is contained in:
parent
06c45e6e9c
commit
b2a2aa7664
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user