]> granicus.if.org Git - python/commitdiff
Fixes #26348: Corrected typos in activate.fish script.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 13 Feb 2016 16:26:35 +0000 (16:26 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 13 Feb 2016 16:26:35 +0000 (16:26 +0000)
Lib/venv/scripts/posix/activate.fish

index 45391aa01c9d50f30afef81daa9ea9048ae461c8..fb7f5c0db959794377de50a076ae65c4c1d513b9 100644 (file)
@@ -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