Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shell integration for append/prepend EnvironmentVariableCollection API #223450

Closed

Conversation

anton-matosov
Copy link
Contributor

Add missing : separator in the variable setter for append and prepend for bash/zsh and fish. Withtout it last entry of first list and first entry of second list will merge into one string.

Add quotes around all the expression that eval into strings in fish integration, for safety sake.

…n API

Add missing `:` separator in the variable setter for append and prepend for bash/zsh and fish. Withtout it last entry of first list and first entry of second list will merge into one string.

Add quotes around all the expression that eval into strings in fish integration, for safety sake.
@anton-matosov
Copy link
Contributor Author

I was overly focused on fixing the issue for PATH, while not realizing that this code is generic.
This PR is invalid. Separator has to be provided by the extension.

@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Sep 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants