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

Apply changes to PATH after terminal creation #952

Merged
merged 3 commits into from
Jul 5, 2024

Conversation

matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Jul 4, 2024

The shell has the ability to add/change environment variables after startup via configuration files. Use applyAtShellIntegration to overcome this for the automatic terminal configuration. Terminal profiles, unfortunately, do not have this option. In this case we have to grab the created terminal and inject our environment variables using a command after the terminal starts up.

Issue: #914

@award999 award999 merged commit 8d6f68f into swiftlang:main Jul 5, 2024
8 checks passed
@matthewbastien matthewbastien deleted the terminal-environment branch July 9, 2024 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants