Skip to content

Commit b2a2aa7

Browse files
committed
Fixes #26348: Corrected typos in activate.fish script.
1 parent 06c45e6 commit b2a2aa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/venv/scripts/posix/activate.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
5555
# with the original prompt function renamed, we can override with our own.
5656
function fish_prompt
5757
# Prompt override?
58-
if test -n "__VENV_PROMPT__"
59-
printf "%s%s%s" "__VENV_PROMPT__" (set_color normal) (_old_fish_prompt)
58+
if test -n "$__VENV_PROMPT__"
59+
printf "%s%s%s" "$__VENV_PROMPT__" (set_color normal) (_old_fish_prompt)
6060
return
6161
end
6262
# ...Otherwise, prepend env

0 commit comments

Comments
 (0)