Skip to content

Commit 1431bef

Browse files
authored
fish: PATH variables should not be quoted when being set (#2248)
1 parent 1f1fdc9 commit 1431bef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/virtualenv/activation/fish/activate.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function deactivate -d 'Exit virtualenv mode and return to the normal environmen
2121
if test (echo $FISH_VERSION | head -c 1) -lt 3
2222
set -gx PATH (_fishify_path "$_OLD_VIRTUAL_PATH")
2323
else
24-
set -gx PATH "$_OLD_VIRTUAL_PATH"
24+
set -gx PATH $_OLD_VIRTUAL_PATH
2525
end
2626
set -e _OLD_VIRTUAL_PATH
2727
end
@@ -63,7 +63,7 @@ set -gx VIRTUAL_ENV '__VIRTUAL_ENV__'
6363
if test (echo $FISH_VERSION | head -c 1) -lt 3
6464
set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH)
6565
else
66-
set -gx _OLD_VIRTUAL_PATH "$PATH"
66+
set -gx _OLD_VIRTUAL_PATH $PATH
6767
end
6868
set -gx PATH "$VIRTUAL_ENV"'/__BIN_NAME__' $PATH
6969

0 commit comments

Comments
 (0)