Skip to content

Commit

Permalink
fix Virtualenv name not correctly shown on Fish (#1587) (#1594)
Browse files Browse the repository at this point in the history
  • Loading branch information
txp314 authored Feb 12, 2020
1 parent 77f0dd8 commit bf2815f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/virtualenv/activation/fish/activate.fish
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ if test -z "$VIRTUAL_ENV_DISABLE_PROMPT"
if test -n '__VIRTUAL_PROMPT__'
printf '%s%s' '__VIRTUAL_PROMPT__' (set_color normal)
else
printf '%s(%s) ' (set_color normal) (basename '$VIRTUAL_ENV')
printf '%s(%s) ' (set_color normal) (basename "$VIRTUAL_ENV")
end

string join -- \n $prompt # handle multi-line prompts
Expand Down

0 comments on commit bf2815f

Please sign in to comment.