-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed as not planned
Closed as not planned
Copy link
Labels
confirmation-pendinginfo-neededIssue requires more information from posterIssue requires more information from posterterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.terminal-shell-zshAn issue in the terminal specific to zsh, including shell integrationAn issue in the terminal specific to zsh, including shell integration
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes/No
Reporting on behalf of @pquadri: microsoft/vscode-python#22901
VS Code version: Code 1.86.1 (Universal) (31c37ee, 2024-02-07T09:09:01.236Z)
OS version: Darwin arm64 23.3.0
Steps to Reproduce:
- Python extension sets the environment variable collection using
EnvironmentCollection.prepend
API, by using options:{"applyAtShellIntegration":true,"applyAtProcessCreation":true}
:
Prepending environment variable PATH in collection with value "<prepend>"
- Value of
PATH
in zsh terminal:
/Users/paolo.quadri/.local/bin:/Users/paolo.quadri/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:<prepend>:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:<prepend>
As one can notice <prepend>
is appearing twice, which is expected, but .zshrc
seems to be running after it which is why <prepend>
isn't the first entry in PATH
.
shell integration:
Metadata
Metadata
Assignees
Labels
confirmation-pendinginfo-neededIssue requires more information from posterIssue requires more information from posterterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.terminal-shell-zshAn issue in the terminal specific to zsh, including shell integrationAn issue in the terminal specific to zsh, including shell integration