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

PATH in Terminal is not automatically updated to include GOROOT/bin #3532

Open
TLCFEM opened this issue Sep 11, 2024 · 1 comment
Open

PATH in Terminal is not automatically updated to include GOROOT/bin #3532

TLCFEM opened this issue Sep 11, 2024 · 1 comment
Milestone

Comments

@TLCFEM
Copy link

TLCFEM commented Sep 11, 2024

I think it is a bug on Windows. I vaguely remember that I used to directly invoke go in ps.

Here on linux, PATH is correctly set in terminals.

Code_n9WZhYtvQm

But on Windows, PATH is not updated.

Code_twleohXIMi

Originally posted by @TLCFEM in #3522 (comment)

@TLCFEM
Copy link
Author

TLCFEM commented Sep 11, 2024

Maybe this if condition shall be revised.

if (vscode.env.shell.search(/(powershell|pwsh)$/i) !== -1) {

@gopherbot gopherbot added this to the Untriaged milestone Sep 11, 2024
@adonovan adonovan changed the title GOPATH is not populated to PATH PATH in Terminal is not automatically updated to include GOROOT/bin Sep 12, 2024
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

No branches or pull requests

2 participants