Skip to content

WSL terminal CLI is broken #230584

@gandyli

Description

@gandyli

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.94.0
  • OS Version: Windows 11 27686.1000
__dirname is not defined
bash: : No such file or directory

I'm using WSL. An error above is always shown when I create a new terminal.
Didn't see this error before updating to 1.94.0.

Steps to Reproduce:

  1. Add code --locate-shell-integration-path bash into ~/.bashrc.
  2. Start a new terminal.

Metadata

Metadata

Assignees

Labels

ESMIssues caused by our AMD => ESM workbugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseconfirmedIssue has been confirmed by VS Code Team memberimportantIssue identified as high-priorityterminal-shell-integrationShell integration infrastructure, command decorations, etc.verifiedVerification succeededworkbench-cliVS Code Command line issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions