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

Python Extension overrides the default terminal configurations #23919

Closed
JintoAntony opened this issue Aug 7, 2024 · 3 comments
Closed

Python Extension overrides the default terminal configurations #23919

JintoAntony opened this issue Aug 7, 2024 · 3 comments
Assignees
Labels
area-terminal info-needed Issue requires more information from poster

Comments

@JintoAntony
Copy link

The file in this path : /.vscode/extensions/ms-python.python-2024.12.2-linux-x64/python_files/deactivate/zsh/envVars.txt is overriding the default terminal configurations, In my case it was oh-my-zsh, and take the default config file from /root/.oh-my-sh, and not possible to override.

@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Aug 7, 2024
@anthonykim1
Copy link

Hello @JintoAntony Can you try adding

"python.experiments.optOutFrom": ["pythonTerminalEnvVarActivation"],

into your settings.json and see if that works?

@anthonykim1 anthonykim1 added area-terminal and removed triage-needed Needs assignment to the proper sub-team labels Aug 7, 2024
@github-actions github-actions bot added the info-needed Issue requires more information from poster label Aug 7, 2024
@JintoAntony
Copy link
Author

@anthonykim1 Yes. It works. Added the above in User settings.json and restarted. Terminal works fine. I will check for any other issues also.

@anthonykim1
Copy link

Glad that workaround is working. This will be eventually be resolved without having to opt out yourself via: #23159 Please feel free to go and give it an upvote.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-terminal info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants