Closed
Description
Type: Bug
After vscode is updated to version 1.100.0, when I use remote ssh to connect to a machine and open the integrated terminal zsh, "__vsc_update_env:7: unknown condition: -v " will repeatly appear when I input a terminal command.
VS Code version: Code 1.100.0 (19e0f9e, 2025-05-07T12:48:53.763Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Remote OS version: Linux x64 3.10.0-1062.el7.x86_64
System Info
Item | Value |
---|---|
CPUs | Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz (16 x 2904) |
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) | 31.72GB (12.92GB free) |
Process Argv | --crash-reporter-id b9e57052-07cf-451c-852a-bd99546158b4 |
Screen Reader | yes |
VM | 29% |
Item | Value |
---|---|
Remote | SSH: 192.168.2.91 |
OS | Linux x64 3.10.0-1062.el7.x86_64 |
CPUs | Intel(R) Xeon(R) CPU E5-2643 v4 @ 3.40GHz (24 x 3652) |
Memory (System) | 62.67GB (35.48GB free) |
VM | 0% |
Extensions (49)
Extension | Author (truncated) | Version |
---|---|---|
Doxygen | bbe | 1.0.0 |
continue | Con | 1.0.8 |
tcl-language-support | go2 | 0.1.2 |
systemverilog-1800-2012 | gve | 1.0.27 |
better-cpp-syntax | jef | 1.27.1 |
mips | kda | 0.1.3 |
restructuredtext | lex | 190.4.7 |
remote-ssh | ms- | 0.121.2025050818 |
remote-ssh-edit | ms- | 0.87.0 |
remote-wsl | ms- | 0.99.0 |
vscode-remote-extensionpack | ms- | 0.26.0 |
remote-explorer | ms- | 0.4.3 |
remote-server | ms- | 1.5.2 |
material-icon-theme | PKi | 5.22.0 |
cdl | qua | 0.0.1 |
rewrap | stk | 1.16.3 |
tom | 1.2.2 | |
vscode-icons | vsc | 12.12.0 |
vim | vsc | 1.29.0 |
spice | xua | 0.1.0 |
increment-selection | alb | 0.2.0 |
tongyi-lingma | Ali | 2.5.2 |
dvt | ami | 25.1.8 |
waveform-render | bmp | 0.27.0 |
path-intellisense | chr | 2.10.0 |
doxdocgen | csc | 1.4.0 |
githistory | don | 0.6.20 |
copilot | Git | 1.317.0 |
copilot-chat | Git | 0.27.0 |
systemverilog-1800-2012 | gve | 1.0.27 |
skill | her | 0.10.0 |
align-by-regex | jan | 1.0.4 |
marscode-extension | Mar | 1.2.4 |
rainbow-csv | mec | 3.17.0 |
git-graph | mhu | 1.30.0 |
debugpy | ms- | 2024.8.0 |
python | ms- | 2024.12.1 |
vscode-pylance | ms- | 2024.7.1 |
cmake-tools | ms- | 1.20.52 |
cpptools | ms- | 1.25.3 |
cpptools-extension-pack | ms- | 1.3.1 |
hexeditor | ms- | 1.11.1 |
makefile-tools | ms- | 0.12.17 |
open-html-in-browser | pea | 2.1.10 |
upf | PYG | 0.0.7 |
claude-dev | sao | 3.14.1 |
markdown-preview-enhanced | shd | 0.8.18 |
cmake | twx | 0.0.17 |
vscode-counter | uct | 3.6.1 |
(2 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vscod805cf:30301675
binariesv615:30325510
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
2e7ec940:31000449
pythontbext0:30879054
cppperfnew:31000557
dwnewjupytercf:31046870
pythonrstrctxt:31112756
nativeloc2:31192216
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
hdaa2157:31222309
copilot_t_ci:31222730
e5gg6876:31282496
pythoneinst12:31285622
bgtreat:31268568
4gafe986:31271826
31787653:31262186
3e8i5726:31271747
7bh79656:31259953
996jf627:31283433
pythonrdcb7cf:31303019
usemplatestapi:31297334
7bj51361:31289155
747dc170:31275177
aj496949:31278748
aj953862:31281341
generatesymbolt:31295002
convertfstringf:31295003
gendocf:31295004
Activity
meganrogge commentedon May 9, 2025
@anthonykim1 it looks like
-v
doesn't exist in somezsh
versions. It looks like a way to do this that would work for all versions is parameter expansion.if [[ ${(P)var+_} ]]; then
anthonykim1 commentedon May 11, 2025
Yeah, looks like -v wasn't available until 4.3.11.
I think most users are fine, but still made PR to use -n and suggested parameter expansion instead of -v here: #248663
anthonykim1 commentedon May 11, 2025
It seems like -v was available starting from zsh version 4.3.11 which was released
July 28, 2009.
Don't think this would impact too much user, but still good to resolve.
GhislainC commentedon May 14, 2025
Hello, zsh version 5 seems to be impacted too (on RHEL7):

MoonChasing commentedon May 20, 2025
I am also troubled by this problem. same zsh version.
anthonykim1 commentedon Jun 2, 2025
Can you guys check if this has been resolved in the latest insider version of VS Code?
Thanks
vs-code-engineering commentedon Jun 2, 2025
This bug has been fixed in the latest release of VS Code Insiders!
@cxk99, you can help us out by commenting
/verified
if things are now working as expected.If things still don't seem right, please ensure you're on version 8020398 of Insiders (today's or later - you can use
Help: About
in the command palette to check), and leave a comment letting us know what isn't working as expected.Happy Coding!
game1991 commentedon Jun 4, 2025
版本: 1.100.3 (user setup)
提交: 258e40f
日期: 2025-06-02T13:30:54.273Z
Electron: 34.5.1
ElectronBuildId: 11369351
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631
still exists~
GhislainC commentedon Jun 4, 2025
/verified