Skip to content

shellStartup does not activate when in WSL #865

@karthiknadig

Description

@karthiknadig

Repro steps:

  1. From a WSL bash prompt
  2. Create a project folder with a python file and a venv.
  3. Start VS Code in that repo.
  4. Notice that the venv is detected and selected.
  5. Changing the python-envs.terminal.autoActivationType from shellStartup to off or vice versa has no effect.

This happens because, .bashrc could have been previously updated with VSCODE_BASH_ACTIVATE as script variable, now it is VSCODE_PYTHON_BASH_ACTIVATE we need to check this and update it.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-priorityinfo-neededIssue requires more information from posterverification-foundIssue verification failed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions