Commit b2a2aa76 authored by Vinay Sajip's avatar Vinay Sajip

Fixes #26348: Corrected typos in activate.fish script.

parent 06c45e6e
...@@ -55,8 +55,8 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT" ...@@ -55,8 +55,8 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
# with the original prompt function renamed, we can override with our own. # with the original prompt function renamed, we can override with our own.
function fish_prompt function fish_prompt
# Prompt override? # Prompt override?
if test -n "__VENV_PROMPT__" if test -n "$__VENV_PROMPT__"
printf "%s%s%s" "__VENV_PROMPT__" (set_color normal) (_old_fish_prompt) printf "%s%s%s" "$__VENV_PROMPT__" (set_color normal) (_old_fish_prompt)
return return
end end
# ...Otherwise, prepend env # ...Otherwise, prepend env
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment