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

The Bash terminal outputs an annoying line when opened #238338

Open
musme opened this issue Jan 21, 2025 · 2 comments
Open

The Bash terminal outputs an annoying line when opened #238338

musme opened this issue Jan 21, 2025 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster terminal-shell-bash An issue in the terminal specific to bash, including shell integration

Comments

@musme
Copy link

musme commented Jan 21, 2025

Type: Bug

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

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

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz (4 x 3312)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
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%
Extensions (10)
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)

A/B Experiments
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

@meganrogge meganrogge added the terminal-shell-bash An issue in the terminal specific to bash, including shell integration label Jan 21, 2025
@meganrogge meganrogge added the bug Issue identified by VS Code Team member as probable bug label Jan 21, 2025
@meganrogge
Copy link
Contributor

what program are you using to set your prompt?

@meganrogge
Copy link
Contributor

could you provide the value of your $PS1 and $PS2?

@meganrogge meganrogge added the info-needed Issue requires more information from poster label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster terminal-shell-bash An issue in the terminal specific to bash, including shell integration
Projects
None yet
Development

No branches or pull requests

3 participants