diff options
author | David Dorfman <wiz3kid@gmail.com> | 2021-12-27 13:00:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-27 11:00:18 +0000 |
commit | 1431befa9373225d375d03dcd3aa2b83d51f7a62 (patch) | |
tree | 0f16b926c334cca30875411fbfedc008d381e064 | |
parent | 1f1fdc9a0a5b7af0faf5e6c684d34dfcbf69b61f (diff) | |
download | virtualenv-1431befa9373225d375d03dcd3aa2b83d51f7a62.tar.gz |
fish: PATH variables should not be quoted when being set (#2248)
-rw-r--r-- | src/virtualenv/activation/fish/activate.fish | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/virtualenv/activation/fish/activate.fish b/src/virtualenv/activation/fish/activate.fish index 3cc3c93..62f631e 100644 --- a/src/virtualenv/activation/fish/activate.fish +++ b/src/virtualenv/activation/fish/activate.fish @@ -21,7 +21,7 @@ function deactivate -d 'Exit virtualenv mode and return to the normal environmen if test (echo $FISH_VERSION | head -c 1) -lt 3 set -gx PATH (_fishify_path "$_OLD_VIRTUAL_PATH") else - set -gx PATH "$_OLD_VIRTUAL_PATH" + set -gx PATH $_OLD_VIRTUAL_PATH end set -e _OLD_VIRTUAL_PATH end @@ -63,7 +63,7 @@ set -gx VIRTUAL_ENV '__VIRTUAL_ENV__' if test (echo $FISH_VERSION | head -c 1) -lt 3 set -gx _OLD_VIRTUAL_PATH (_bashify_path $PATH) else - set -gx _OLD_VIRTUAL_PATH "$PATH" + set -gx _OLD_VIRTUAL_PATH $PATH end set -gx PATH "$VIRTUAL_ENV"'/__BIN_NAME__' $PATH |