Repository: vscode
Issue: The Bash terminal outputs an annoying line when opened
Labels: bug,important,windows,terminal-shell-git-bash


Type: <b>Bug</b>

When I open the bash terminal it always prints that string:

"633;EnvSingleEntry;ORIGINAL_TEMP;/tmp;4b2baa3e-3304-4425-82ad-ce5a372dfb25633;EnvSingleEntry;PATHEXT;.COM\x3b.EXE\x3b.BAT\x3b.CMD\x3b.VBS\x3b.VBE\x3b.JS\x3b.JSE\x3b.WSF\x3b.WSH\x3b.MSC\x3b.PY\x3b.PYW;4b2baa3e-3304-4425-82ad-ce5a372dfb25633;EnvSingleEntry;PSModulePath;C:\\Program Files\\WindowsPowerShell\\Modules\x3bC:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;4b2baa3e-3304-4425-82ad-ce5a372dfb25633;EnvSingleEntry;ORIGINAL_TEMP;/tmp;4b2baa3e-3304-4425-82ad-ce5a372dfb25633;EnvSingleEntry;PATHEXT;.COM\x3b.EXE\x3b.BAT\x3b.CMD\x3b.VBS\x3b.VBE\x3b.JS\x3b.JSE\x3b.WSF\x3b.WSH\x3b.MSC\x3b.PY\x3b.PYW;4b2baa3e-3304-4425-82ad-ce5a372dfb25633;EnvSingleEntry;PSModulePath;C:\\Program Files\\WindowsPowerShell\\Modules\x3bC:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules;4b2baa3e-3304-4425-82ad-ce5a372dfb25"

It looks like there is some issue in the shell sript: AppData\Local\Programs\Microsoft VS Code Insiders\resources\app/out/vs/workbench/contrib/terminal/common/scripts/shellIntegration-bash.sh

![Image](https://github.com/user-attachments/assets/b65e2899-7c5b-4305-96de-8193ad450064)

VS Code version: Code - Insiders 1.97.0-insider (3d0aeb47a2ecfde9ff5141470b30c36d41c321d9, 2025-01-20T05:04:25.114Z)
OS version: Windows_NT x64 10.0.19045
Modes:

<details>
<summary>System Info</summary>

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 x 3312)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: enabled_on<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_graphite: disabled_off<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: enabled<br>webnn: disabled_off|
|Load (avg)|undefined|
|Memory (System)|15.91GB (5.39GB free)|
|Process Argv|--crash-reporter-id f6782a88-ad58-4a99-8c91-7424936ca9d2|
|Screen Reader|no|
|VM|0%|
</details><details><summary>Extensions (10)</summary>

Extension|Author (truncated)|Version
---|---|---
vscode-tailwindcss|bra|0.12.18
vscode-eslint|dba|3.0.10
gitlens|eam|16.2.0
vsc-material-theme|Equ|34.7.9
prettier-vscode|esb|11.0.0
color-highlight|nau|2.8.0
php-docblocker|nei|2.7.0
indent-rainbow|ode|8.3.1
vscode-versionlens|pfl|1.16.2
vscode-icons|vsc|12.10.0

(2 theme extensions excluded)

</details><details>
<summary>A/B Experiments</summary>

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vsc_aa:30263845
vscod805cf:30301675
vsaa593cf:30376535
py29gd2263:31024238
c4g48928:30535728
962ge761:30841072
pythonnoceb:30776497
dsvsc014:30777825
dsvsc015:30821418
pythonmypyd1:30859725
h48ei257:31000450
pythontbext0:30879054
cppperfnew:30980852
pythonait:30973460
dvdeprecation:31040973
dwnewjupyter:31046869
newcmakeconfigv2:31071590
nativerepl1:31134653
pythonrstrctxt:31093868
nativeloc1:31118317
cf971741:31144450
e80f6927:31120813
iacca1:31150324
notype1:31143044
dwcopilot:31158714
h409b430:31177054
5b1c1929:31184661
6074i472:31201624
dwoutputs:31217127
6e63a538:31218797
9064b325:31222308

```

</details>

<!-- generated by issue reporter -->