JanDeDobbeleer / oh-my-posh

The most customisable and low-latency cross platform/shell prompt renderer
https://ohmyposh.dev
MIT License
16.59k stars 2.32k forks source link

Terminal integrated in VSCode is broken after updating the VSCode #5053

Closed GiitMM closed 2 months ago

GiitMM commented 2 months ago

Code of Conduct

What happened?

Yesterday the theme perfectly worked at both Windows Terminal and Terminal in VSCode. But after I updated the VSCode and restarted the app, its Terminal has been broken. However, the Windows Terminal is still normal.

Here is the Terminal in VSCode. It displays some strange characters:

image

and here is the Windows Terminal:

image

Theme

Here is my theme:

powerlevel10k_rainbow.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Here is the log generated from command run at `Terminal by VSCode`

Version: 20.0.2

Shell: powershell (5.1.22621.2506)

Prompt:

╭─    D:\Workplace\source-code                                                                                                   22:59:27  ─╮
╰─                                                                                                                                                   ─╯

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Path(true)                                 -   2 ms
Git(false)                                 -  10 ms
Node(false)                                -   1 ms
Go(false)                                  -   0 ms
Julia(false)                               -   0 ms
Python(false)                              -   1 ms
Ruby(false)                                -   1 ms
Azfunc(false)                              -   1 ms
Aws(false)                                 -   0 ms
Root(false)                                -   0 ms
Executiontime(false)                       -   0 ms
Status(true)                               -   0 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms
Text(true)                                 -   0 ms

Run duration: 32.5597ms

Cache path: C:\Users\<username>\AppData\Local\oh-my-posh

Config path: C:\Users\<username>\AppData\Local\Programs\oh-my-posh\themes\powerlevel10k_rainbow.omp.json

Logs:

[DEBUG] 22:59:27.322 shell.go:Getenv:326 → vscode
[TRACE] 22:59:27.324 shell.go:Getenv(TERM_PROGRAM) - 1.8001ms
[DEBUG] 22:59:27.324 shell.go:Getenv:326 → C:\Users\<username>\AppData\Local
[TRACE] 22:59:27.324 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:59:27.324 shell_windows.go:CachePath() - 133.8µs
[DEBUG] 22:59:27.324 shell.go:Getenv:326 → C:\Users\<username>\AppData\Local\Programs\oh-my-posh\themes\powerlevel10k_rainbow.omp.json
[TRACE] 22:59:27.324 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 22:59:27.324 shell.go:Shell:601 → no shell name provided in flags, trying to detect it
[DEBUG] 22:59:27.338 shell.go:Shell:609 → process name: powershell.exe
[TRACE] 22:59:27.338 shell.go:Shell() - 13.9163ms
[TRACE] 22:59:27.338 shell.go:resolveConfigPath() - 13.9163ms
[TRACE] 22:59:27.338 shell.go:Init() - 16.3637ms
[TRACE] 22:59:27.338 shell.go:Flags() - 0s
[TRACE] 22:59:27.339 config.go:loadConfig() - 1.2636ms
[TRACE] 22:59:27.339 shell.go:Flags() - 0s
[DEBUG] 22:59:27.339 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.339 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 22:59:27.339 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.339 shell.go:GOOS() - 0s
[TRACE] 22:59:27.340 shell.go:GOOS() - 0s
[TRACE] 22:59:27.340 shell.go:GOOS() - 0s
[TRACE] 22:59:27.340 shell.go:GOOS() - 0s
[TRACE] 22:59:27.340 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.340 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC4D0000C
[TRACE] 22:59:27.340 shell.go:Shell() - 0s
[DEBUG] 22:59:27.340 shell.go:Getenv:326 → 5.1.22621.2506
[TRACE] 22:59:27.340 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 22:59:27.340 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 22:59:27.340 text.go:Render:71 → Rendering template: @{{.HostName}}
[TRACE] 22:59:27.340 shell_windows.go:Root() - 0s
[TRACE] 22:59:27.340 shell.go:Shell() - 0s
[TRACE] 22:59:27.340 shell.go:StatusCodes() - 0s
[TRACE] 22:59:27.340 shell_windows.go:IsWsl() - 0s
[DEBUG] 22:59:27.341 shell.go:TemplateCache:782 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\<username>\AppData\Roaming CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\crashpad_22932_BCDBLQEAITACPRDX CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=<computer_name> ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData EFC_29180=1 HOMEDRIVE=C: HOMEPATH=\Users\<username> IGCCSVC_DB=AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAvvBlVYhOF0KPZn0QkumeGAQAAAACAAAAAAAQZgAAAAEAACAAAAAlwSl+LpFPUNGNBeamYdnUX6YigO3P1+6Ca3hYilFjFwAAAAAOgAAAAAIAACAAAABiVWvdY9U8u1NVTDtJy9Y+gjUaiLf6VtUF48yfFQ1uKGAAAACD6T6SDvobP+j7d1pFToIkBVRS26kPRo6+0Q9cI1sUY2xuQ3mU8YCpuH0ZjvJ813cxlHViNKhssSvhQ16HCXUKtlMoso36B3CEvKDARoPrHeb/QAz3Vs8JoFFoFlTeDOhAAAAABryVmWqCXmbZsKxhFZz4KYJSW/JO0lL9sEVKStrvVXtsne+bEU4j9NwP5alQaXWv9WNKXGq4ZDgMpsF/s35VWA== LOCALAPPDATA=C:\Users\<username>\AppData\Local LOGONSERVER=\\PDC-DC NUMBER_OF_PROCESSORS=8 OneDrive=C:\Users\<username>\OneDrive ORIGINAL_XDG_CURRENT_DESKTOP=undefined OS=Windows_NT Path=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Users\<username>\AppData\Local\Microsoft\WindowsApps;C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\<username>\AppData\Local\Programs\Git\cmd;C:\Users\<username>\.dotnet\tools;C:\Users\<username>\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=1 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=10788 POSH_SHELL_VERSION=5.1.22621.2506 POSH_THEME=C:\Users\<username>\AppData\Local\Programs\oh-my-posh\themes\powerlevel10k_rainbow.omp.json POSH_THEMES_PATH=C:\Users\<username>\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=8c01 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\<username>\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\<USERNAME>\AppData\Local\Temp TMP=C:\Users\<USERNAME>\AppData\Local\Temp USERDNSDOMAIN=<DOMAIN> USERDOMAIN=<USERDOMAIN> USERDOMAIN_ROAMINGPROFILE=<USERDOMAIN> USERNAME=<username> USERPROFILE=C:\Users\<username> windir=C:\Windows ZES_ENABLE_SYSMAN=1 TERM_PROGRAM=vscode TERM_PROGRAM_VERSION=1.90.0 LANG=en_US.UTF-8 COLORTERM=truecolor GIT_ASKPASS=c:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh VSCODE_GIT_ASKPASS_NODE=C:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\Code.exe VSCODE_GIT_ASKPASS_EXTRA_ARGS= VSCODE_GIT_ASKPASS_MAIN=c:\Users\<username>\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-c78f2b406c-sock VSCODE_INJECTION=1]
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 shell.go:Pwd:356 → D:\Workplace\source-code
[TRACE] 22:59:27.341 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.341 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 shell.go:User:494 → <username>
[TRACE] 22:59:27.341 shell.go:User() - 0s
[DEBUG] 22:59:27.341 shell.go:Host:511 → <computer_name>
[TRACE] 22:59:27.341 shell.go:Host() - 0s
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.341 shell.go:Getenv(SHLVL) - 0s
[TRACE] 22:59:27.341 shell.go:TemplateCache() - 634.6µs
[DEBUG] 22:59:27.341 shell.go:Getenv:326 → 1
[TRACE] 22:59:27.341 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 22:59:27.341 shell.go:Getenv:326 → 1
[TRACE] 22:59:27.341 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 22:59:27.341 shell.go:Flags() - 0s
[TRACE] 22:59:27.341 shell.go:Flags() - 0s
[TRACE] 22:59:27.341 shell.go:Shell() - 0s
[TRACE] 22:59:27.341 shell.go:Shell() - 0s
[TRACE] 22:59:27.341 shell.go:Flags() - 0s
[TRACE] 22:59:27.341 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.341 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 segment.go:SetEnabled:532 → Segment: Git
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 shell.go:Getenv:326 → C:\Users\<username>\AppData\Local
[TRACE] 22:59:27.341 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:59:27.341 shell.go:Flags() - 0s
[TRACE] 22:59:27.341 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.341 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 segment.go:SetEnabled:532 → Segment: Os
[TRACE] 22:59:27.341 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.341 properties.go:GetString:28 → 
[TRACE] 22:59:27.341 shell.go:TemplateCache() - 0s
[TRACE] 22:59:27.342 shell.go:Flags() - 0s
[TRACE] 22:59:27.343 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.343 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.343 segment.go:SetEnabled:532 → Segment: Path
[TRACE] 22:59:27.343 shell.go:Pwd() - 0s
[TRACE] 22:59:27.343 shell.go:Shell() - 0s
[TRACE] 22:59:27.343 shell.go:Shell() - 0s
[TRACE] 22:59:27.343 shell.go:Flags() - 0s
[DEBUG] 22:59:27.343 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 22:59:27.343 properties.go:GetString:28 → 
[DEBUG] 22:59:27.343 properties.go:GetString:28 → 
[DEBUG] 22:59:27.343 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → ~
[DEBUG] 22:59:27.343 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → NO DATA
[TRACE] 22:59:27.343 shell.go:GOOS() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → full
[DEBUG] 22:59:27.343 properties.go:GetStringArray:52 → cycle: []
[DEBUG] 22:59:27.343 properties.go:GetString:28 → NO DATA
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → \
[DEBUG] 22:59:27.343 properties.go:GetBool:22 → cycle_folder_separator: false
[DEBUG] 22:59:27.343 properties.go:GetString:28 → %s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → %s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → %s
[DEBUG] 22:59:27.343 properties.go:GetString:28 → %s
[TRACE] 22:59:27.343 shell.go:PathSeparator() - 0s
[TRACE] 22:59:27.344 shell.go:Pwd() - 0s
[TRACE] 22:59:27.344 shell_windows.go:IsWsl() - 0s
[TRACE] 22:59:27.344 shell.go:StackCount() - 0s
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:311 ↓
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:303 → current user is member of S-1-5-11
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:311 ↓
    GENERIC_READ
    GENERIC_WRITE
    GENERIC_EXECUTE
    DELETE
[DEBUG] 22:59:27.345 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 22:59:27.345 shell_windows.go:DirIsWritable() - 1.3001ms
[TRACE] 22:59:27.345 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.351 shell.go:CommandPath:553 → C:\Users\<username>\AppData\Local\Programs\Git\cmd\git.exe
[TRACE] 22:59:27.351 shell.go:CommandPath(git.exe) - 10.6393ms
[TRACE] 22:59:27.351 shell.go:HasCommand(git.exe) - 10.6393ms
[TRACE] 22:59:27.351 shell.go:Pwd() - 0s
[ERROR] 22:59:27.351 shell.go:HasParentFilePath:697 → CreateFile .git: The system cannot find the file specified.
[TRACE] 22:59:27.351 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 22:59:27.351 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 22:59:27.351 text.go:Render:71 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}
[DEBUG] 22:59:27.351 text.go:Render:71 → Rendering template:   {{ .Path }}
[TRACE] 22:59:27.352 shell.go:TemplateCache() - 0s
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[TRACE] 22:59:27.352 shell.go:TemplateCache() - 0s
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[DEBUG] 22:59:27.352 text.go:Render:71 → Rendering template: diamond
[DEBUG] 22:59:27.352 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.352 text.go:Render:71 → Rendering template: powerline
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[TRACE] 22:59:27.352 shell.go:Shell() - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Time
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Node
[DEBUG] 22:59:27.352 properties.go:GetString:28 → 15:04:05
[TRACE] 22:59:27.352 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 properties.go:GetString:28 → files
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → fetch_package_manager: false
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Go
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 properties.go:GetString:28 → files
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Azfunc
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 properties.go:GetString:28 → files
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Python
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Julia
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Root
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Ruby
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → fetch_virtual_env: false
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(*.py) - 505µs
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 properties.go:GetStringArray:52 → folders: []
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(*.ipynb) - 0s
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.352 shell_windows.go:Root() - 505µs
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
ir(pyproject.toml) - 0s
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(venv.bak) - 0s
[DEBUG] 22:59:27.352 properties.go:GetString:28 → files
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.352 shell.go:Flags() - 0s
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(*.jl) - 505µs
[DEBUG] 22:59:27.352 properties.go:GetString:28 → {{ .Code }}
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFolder:438 → false
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[TRACE] 22:59:27.352 shell.go:HasFolder(.venv) - 0s
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Aws
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Status
[DEBUG] 22:59:27.352 properties.go:GetBool:22 → display_default: false
[TRACE] 22:59:27.352 shell.go:StatusCodes() - 0s
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[DEBUG] 22:59:27.352 text.go:Render:7AWS_VAULT) - 0s
[DEBUG] 22:59:27.352 shell.go:HasFolder:438 → false
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.352 shell.go:HasFolder(venv) - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.352 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.352 shell.go:Getenv(AWS_REGION) - 0s
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(go.mod) - 0s
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 shell.go:HasFolder:438 → false
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 shell.go:Getenv:326 → NO DATA
[TRACE] 22:59:27.352 shell.go:HasFolder(virtualenv) - 0s
[TRACE] 22:59:27.352 shell.go:GOOS() - 0s
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(*.rb) - 0s
[TRACE] 22:59:27.352 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[TRACE] 22:59:27.352 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.352 segment.go:SetEnabled:532 → Segment: Executiontime
[DEBUG] 22:59:27.352 shell_windows.go:58 → C:\Users\<username>
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 shell.go:HasFolder:438 → false
[TRACE] 22:59:27.352 shell.go:HasFilesInDir(Rakefile) - 0s
[DEBUG] 22:59:27.352 shell.go:HasFilesInDir:409 → false
[DEBUG] 22:59:27.352 properties.go:GetFloat64:34 → threshold: 500.000000
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFolder:438 → false
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(local.settings.json) - 0s
[TRACE] 22:59:27.353 shell.go:HasFolder(pyenv-win) - 547.4µs
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(Gemfile) - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(*.ts) - 547.4µs
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(function.json) - 0s
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(package.json) - 0s
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(.nvmrc) - 0s
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(.pnpmfile.cjs) - 0s
[TRACE] 22:59:27.353 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.353 shell.go:HasFilesInDir:409 → false
[TRACE] 22:59:27.353 shell.go:HasFilesInDir(.vue) - 0s
[ERROR] 22:59:27.353 shell.go:FileContent:464 → open C:\Users\<username>/.aws/config: The system cannot find the path specified.
[TRACE] 22:59:27.353 shell.go:FileContent(C:\Users\<username>/.aws/config) - 547.4µs
[TRACE] 22:59:27.353 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.353 properties.go:GetBool:22 → always_enabled: true
[TRACE] 22:59:27.353 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template:  {{ .CurrentDate | date .Format }} 
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template:  {{ if gt .Code 0 }}{{ reason .Code }}{{ else }}{{ end }}
[TRACE] 22:59:27.354 shell.go:TemplateCache() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:TemplateCache() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: {{ if gt .Code 0 }}#cc2222{{ end }}
[TRACE] 22:59:27.354 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: powerline
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: diamond
[DEBUG] 22:59:27.354 shell_windows.go:TerminalWidth:111 → terminal width: 151
[TRACE] 22:59:27.354 shell_windows.go:TerminalWidth() - 613µs
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Flags() - 0s
[TRACE] 22:59:27.354 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.354 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.354 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.354 segment.go:SetEnabled:532 → Segment: Text
[TRACE] 22:59:27.354 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: ╰─
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[DEBUG] 22:59:27.354 shell.go:Getenv:326 → vscode
[TRACE] 22:59:27.354 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: plain
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Flags() - 0s
[TRACE] 22:59:27.354 shell.go:Pwd() - 0s
[DEBUG] 22:59:27.354 shell_windows.go:58 → C:\Users\<username>
[TRACE] 22:59:27.354 shell.go:GOOS() - 0s
[DEBUG] 22:59:27.354 segment.go:SetEnabled:532 → Segment: Text
[TRACE] 22:59:27.354 shell.go:TemplateCache() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: ─╯
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[DEBUG] 22:59:27.354 text.go:Render:71 → Rendering template: plain
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Flags() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[TRACE] 22:59:27.354 shell.go:Shell() - 0s
[DEBUG] 22:59:27.354 shell_windows.go:TerminalWidth:94 → terminal width: 151
[TRACE] 22:59:27.354 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 22:59:27.354 shell.go:Getenv:326 → C:\Users\<username>\AppData\Local
[TRACE] 22:59:27.354 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:59:27.355 shell_windows.go:CachePath() - 538.2µs
[TRACE] 22:59:27.355 shell.go:Flags() - 0s
JanDeDobbeleer commented 2 months ago

This is a bug in vscode, they're working on it.

JanDeDobbeleer commented 2 months ago

relates to https://github.com/microsoft/vscode/issues/211922

temporarily disable shell integrations to solve the issue for now:

{
  "terminal.integrated.shellIntegration.enabled": false
}
GiitMM commented 2 months ago

[Update]

This issue was fixed in VSCode release 1.90.2 and now it works well without needing to set terminal.integrated.shellIntegration.enabled to false anymore!

image