-
Notifications
You must be signed in to change notification settings - Fork 38.4k
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersterminal-shell-bashAn issue in the terminal specific to bash, including shell integrationAn issue in the terminal specific to bash, including shell integrationterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.terminal-shell-zshAn issue in the terminal specific to zsh, including shell integrationAn issue in the terminal specific to zsh, including shell integrationverifiedVerification succeededVerification succeeded
Milestone
Description
Type: Bug
Does this issue occur when all extensions are disabled?: Yes
I use the set -u option in my shell to prevent silly mistakes. Unfortunately this breaks VS Code shell integration.
Steps to reproduce
- Put
set -uin your~/.bashrcor~/.zshrc. - Start a Bash or Zsh terminal in VS Code.
- Shell integration fails with the message
XXX-code-zsh/.zshrc:42: VSCODE_ENV_REPLACE: parameter not set
VS Code version: Code 1.79.2 (695af09, 2023-06-14T08:58:52.392Z)
OS version: Darwin x64 22.2.0
Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: disabled_off direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled metal: disabled_off multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled |
| Load (avg) | 4, 3, 2 |
| Memory (System) | 32.00GB (12.99GB free) |
| Process Argv | --disable-extensions --crash-reporter-id a4f85e74-237c-4f0d-8779-daf0fdaef7e3 |
| Screen Reader | no |
| VM | 0% |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code Insidersterminal-shell-bashAn issue in the terminal specific to bash, including shell integrationAn issue in the terminal specific to bash, including shell integrationterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.terminal-shell-zshAn issue in the terminal specific to zsh, including shell integrationAn issue in the terminal specific to zsh, including shell integrationverifiedVerification succeededVerification succeeded