JanDeDobbeleer / oh-my-posh

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

oh-my-posh and VSCode 1.90 terminal change conflicts #5013

Closed lvzhenbo closed 1 month ago

lvzhenbo commented 1 month ago

Code of Conduct

What happened?

I updated VSC today and noticed that the terminal was messed up, looking in the changelog I found a change in the terminal rendering engine image

Theme

default

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 21.2.2

Shell: pwsh (7.4.2)

Prompt:

 29422   115-plus    main ≡  ~2                                                                                                                                                                                                                      in pwsh at 15:02:27

Segments:

ConsoleTitle(true)                        -   1 ms
Session(true)                             -   0 ms
Path(true)                                -   0 ms
Git(true)                                 -  42 ms
Root(false)                               -   0 ms
Status(true)                              -   0 ms
Node(true)                                -  55 ms
Go(false)                                 -   0 ms
Python(false)                             -   1 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 113.4388ms

Cache path: C:\Users\29422\AppData\Local\oh-my-posh

Config path: no --config set, using default built-in configuration

Logs:

[DEBUG] 15:02:27.918 shell.go:Getenv:326 → vscode
[TRACE] 15:02:27.924 shell.go:Getenv(TERM_PROGRAM) - 6.1124ms
[DEBUG] 15:02:27.924 shell.go:Getenv:326 → C:\Users\29422\AppData\Local
[TRACE] 15:02:27.924 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:02:27.924 shell_windows.go:CachePath() - 0s
[DEBUG] 15:02:27.925 shell.go:Getenv:326 → NO DATA
[TRACE] 15:02:27.925 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 15:02:27.925 shell.go:resolveConfigPath:246 → No config set, fallback to default config
[TRACE] 15:02:27.925 shell.go:resolveConfigPath() - 0s
[TRACE] 15:02:27.925 shell.go:Init() - 7.1452ms
[TRACE] 15:02:27.925 shell.go:Flags() - 0s
[DEBUG] 15:02:27.925 config.go:loadConfig:128 → no config file specified, using default
[TRACE] 15:02:27.925 config.go:loadConfig() - 0s
[TRACE] 15:02:27.925 shell.go:Flags() - 0s
[DEBUG] 15:02:27.925 shell.go:Getenv:326 → NO DATA
[TRACE] 15:02:27.925 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 15:02:27.925 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[TRACE] 15:02:27.925 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.925 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC40078D4
[DEBUG] 15:02:27.925 shell.go:Shell:601 → no shell name provided in flags, trying to detect it
[DEBUG] 15:02:27.931 shell.go:Shell:609 → process name: pwsh.exe
[TRACE] 15:02:27.931 shell.go:Shell() - 5.6184ms
[DEBUG] 15:02:27.931 shell.go:Getenv:326 → 7.4.2
[TRACE] 15:02:27.931 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 15:02:27.931 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 15:02:27.931 text.go:Render:71 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 15:02:27.931 shell_windows.go:Root() - 0s
[TRACE] 15:02:27.931 shell.go:Shell() - 0s
[TRACE] 15:02:27.931 shell.go:StatusCodes() - 0s
[TRACE] 15:02:27.931 shell_windows.go:IsWsl() - 0s
[DEBUG] 15:02:27.931 shell.go:TemplateCache:782 → environment: [ACSetupSvcPort=23210 ACSvcPort=17532 ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\29422\AppData\Roaming CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\crashpad_31896_TUMTCUSDWRWQVVSC CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=LV-ZHEN-BO ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False COREPACK_NPM_REGISTRY=https://registry.npmmirror.com DMM_PASSWORD=727501Lzb DMM_USERNAME=294221990@qq.com DriverData=C:\Windows\System32\Drivers\DriverData EFC_5232=1 EnableLog=INFO HOMEDRIVE=C: HOMEPATH=\Users\29422 LOCALAPPDATA=C:\Users\29422\AppData\Local LOGONSERVER=\\LV-ZHEN-BO NUMBER_OF_PROCESSORS=24 OneDrive=C:\Users\29422\OneDrive ORIGINAL_XDG_CURRENT_DESKTOP=undefined OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;D:\Program Files\ffmpeg\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Calibre2\;C:\Program Files\NVIDIA Corporation\NVIDIA App\NvDLISR;C:\Program Files\PowerShell\7\;C:\Program Files\nodejs\;C:\Program Files\gsudo\Current;C:\Program Files\Git\cmd;C:\Program Files\gitui\bin\;C:\Users\29422\.console-ninja\.bin;C:\Users\29422\AppData\Local\Microsoft\WindowsApps;C:\Users\29422\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\29422\AppData\Local\gitkraken\bin;C:\Users\29422\.bun\bin;C:\Users\29422\AppData\Local\Microsoft\WindowsApps;C:\Users\29422\AppData\Roaming\npm;C:\Users\29422\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=2 POSH_GIT_ENABLED=False POSH_INSTALLER=manual POSH_PID=8296 POSH_SHELL_VERSION=7.4.2 POSH_THEMES_PATH=C:\Users\29422\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 151 Stepping 2, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=9702 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\29422\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\powershell\7\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public RlsSvcPort=22112 SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\Users\29422\AppData\Local\Temp TMP=C:\Users\29422\AppData\Local\Temp USERDOMAIN=LV-ZHEN-BO USERDOMAIN_ROAMINGPROFILE=LV-ZHEN-BO USERNAME=29422 USERPROFILE=C:\Users\29422 windir=C:\WINDOWS TERM_PROGRAM=vscode TERM_PROGRAM_VERSION=1.90.0 LANG=zh_CN.UTF-8 COLORTERM=truecolor GIT_ASKPASS=c:\Users\29422\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh VSCODE_GIT_ASKPASS_NODE=C:\Users\29422\AppData\Local\Programs\Microsoft VS Code\Code.exe VSCODE_GIT_ASKPASS_EXTRA_ARGS= VSCODE_GIT_ASKPASS_MAIN=c:\Users\29422\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-32cb52cfa8-sock VSCODE_INJECTION=1]
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.931 shell.go:Pwd:356 → C:\Users\29422\Desktop\115-plus
[TRACE] 15:02:27.931 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.931 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[TRACE] 15:02:27.931 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 shell.go:User:494 → 29422
[TRACE] 15:02:27.932 shell.go:User() - 0s
[DEBUG] 15:02:27.932 shell.go:Host:511 → lv-zhen-bo
[TRACE] 15:02:27.932 shell.go:Host() - 506.9µs
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → NO DATA
[TRACE] 15:02:27.932 shell.go:Getenv(SHLVL) - 0s
[TRACE] 15:02:27.932 shell.go:TemplateCache() - 1.0157ms
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → 2
[TRACE] 15:02:27.932 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → 1
[TRACE] 15:02:27.932 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Shell() - 0s
[TRACE] 15:02:27.932 shell.go:Shell() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 properties.go:GetString:28 → {{ .Code }}
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 segment.go:SetEnabled:533 → Segment: Git
[DEBUG] 15:02:27.932 segment.go:SetEnabled:533 → Segment: Path
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[TRACE] 15:02:27.932 shell.go:Pwd() - 0s
[TRACE] 15:02:27.932 shell.go:Shell() - 0s
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → C:\Users\29422\AppData\Local
[DEBUG] 15:02:27.932 segment.go:SetEnabled:533 → Segment: Status
[TRACE] 15:02:27.932 shell.go:Flags() - 0s
[TRACE] 15:02:27.932 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:02:27.932 shell.go:StatusCodes() - 0s
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 text.go:Render:71 → Rendering template: {{ .Code }}
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 segment.go:SetEnabled:533 → Segment: Session
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → NO DATA
[DEBUG] 15:02:27.932 segment.go:SetEnabled:533 → Segment: Root
[TRACE] 15:02:27.932 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 15:02:27.932 shell.go:Getenv:326 → NO DATA
[TRACE] 15:02:27.932 shell.go:Getenv(SSH_CLIENT) - 0s
[DEBUG] 15:02:27.932 properties.go:GetBool:22 → mapped_locations_enabled: true
[TRACE] 15:02:27.932 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.932 properties.go:GetString:28 → 
[DEBUG] 15:02:27.932 properties.go:GetString:28 → 
[DEBUG] 15:02:27.932 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.932 shell_windows.go:Root() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.932 properties.go:GetString:28 → ~
[DEBUG] 15:02:27.932 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 15:02:27.932 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.932 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:GOOS() - 0s
[TRACE] 15:02:27.932 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[DEBUG] 15:02:27.933 properties.go:GetString:28 → NO DATA
[DEBUG] 15:02:27.933 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[DEBUG] 15:02:27.933 properties.go:GetString:28 → folder
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:GOOS() - 0s
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[DEBUG] 15:02:27.933 properties.go:GetString:28 → NO DATA
[TRACE] 15:02:27.933 shell.go:PathSeparator() - 0s
[DEBUG] 15:02:27.933 properties.go:GetBool:22 → always_enabled: true
[DEBUG] 15:02:27.933 properties.go:GetString:28 → \
[TRACE] 15:02:27.933 shell.go:Pwd() - 0s
[TRACE] 15:02:27.933 shell_windows.go:IsWsl() - 0s
[TRACE] 15:02:27.933 shell.go:StackCount() - 0s
[DEBUG] 15:02:27.933 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 15:02:27.933 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 15:02:27.933 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 15:02:27.933 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 15:02:27.933 shell_windows.go:DirIsWritable() - 0s
[TRACE] 15:02:27.933 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.940 shell.go:CommandPath:553 → C:\Program Files\Git\cmd\git.exe
[TRACE] 15:02:27.940 shell.go:CommandPath(git.exe) - 8.1344ms
[TRACE] 15:02:27.940 shell.go:HasCommand(git.exe) - 8.1344ms
[TRACE] 15:02:27.940 shell.go:Pwd() - 0s
[TRACE] 15:02:27.940 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 15:02:27.940 properties.go:GetStringArray:52 → exclude_folders: []
[DEBUG] 15:02:27.940 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.940 properties.go:GetBool:22 → fetch_user: false
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.940 shell.go:Getenv:326 → NO DATA
[TRACE] 15:02:27.940 shell.go:Getenv(POSH_GIT_STATUS) - 0s
[DEBUG] 15:02:27.940 properties.go:GetBool:22 → fetch_status: true
[DEBUG] 15:02:27.940 properties.go:GetStringArray:52 → ignore_status: []
[DEBUG] 15:02:27.940 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.940 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.940 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 15:02:27.940 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[DEBUG] 15:02:27.940 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[DEBUG] 15:02:27.974 shell.go:RunCommand:531 ↓
    # branch.oid 82a51a3fc797847e45f8eb7bd43a34ea3b8cf9a7
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +0 -0
    1 .M N... 100644 100644 100644 c38a90c1d7008328a2ad866564958e203ea3504c c38a90c1d7008328a2ad866564958e203ea3504c package.json
    1 .M N... 100644 100644 100644 532e22605fa2881e90cb9a0205650189d6b65f38 532e22605fa2881e90cb9a0205650189d6b65f38 pnpm-lock.yaml
[TRACE] 15:02:27.974 shell.go:RunCommand(git.exe -C C:/Users/29422/Desktop/115-plus --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 34.2572ms
[DEBUG] 15:02:27.974 properties.go:GetString:28 → 
[DEBUG] 15:02:27.974 properties.go:GetInt:40 → branch_max_length: 25
[DEBUG] 15:02:27.975 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.975 shell.go:HasFolder(C:\Users\29422\Desktop\115-plus\.git/rebase-merge) - 0s
[DEBUG] 15:02:27.975 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.975 shell.go:HasFolder(C:\Users\29422\Desktop\115-plus\.git/rebase-apply) - 0s
[DEBUG] 15:02:27.975 properties.go:GetString:28 → 
[DEBUG] 15:02:27.975 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.975 shell.go:HasFilesInDir(MERGE_MSG) - 0s
[DEBUG] 15:02:27.975 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.975 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
[DEBUG] 15:02:27.975 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.975 shell.go:HasFilesInDir(REVERT_HEAD) - 0s
[DEBUG] 15:02:27.975 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.975 shell.go:HasFilesInDir(sequencer/todo) - 0s
[DEBUG] 15:02:27.975 properties.go:GetString:28 → ≡
[DEBUG] 15:02:27.975 properties.go:GetBool:22 → fetch_upstream_icon: true
[DEBUG] 15:02:27.975 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
[DEBUG] 15:02:27.975 properties.go:GetString:28 → 
[TRACE] 15:02:27.975 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.975 text.go:Render:71 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 15:02:27.975 text.go:Render:71 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[DEBUG] 15:02:27.975 text.go:Render:71 → Rendering template:  {{ if .UpstreamURL }}{{ url .UpstreamIcon .UpstreamURL }} {{ end }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}
[DEBUG] 15:02:27.975 text.go:Render:71 → Rendering template:   {{ path .Path .Location }}
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: diamond
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: powerline
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:yellow{{ end }}
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}p:black{{ end }}
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: powerline
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: powerline
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.976 text.go:Render:71 → Rendering template: diamond
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.976 shell.go:GOOS() - 0s
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[DEBUG] 15:02:27.976 segment.go:SetEnabled:533 → Segment: Time
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.976 properties.go:GetString:28 → 15:04:05
[DEBUG] 15:02:27.976 properties.go:GetString:28 → files
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[TRACE] 15:02:27.976 shell.go:GOOS() - 0s
[TRACE] 15:02:27.976 shell.go:GOOS() - 0s
[TRACE] 15:02:27.976 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 segment.go:SetEnabled:533 → Segment: Node
[DEBUG] 15:02:27.976 segment.go:SetEnabled:533 → Segment: Go
[TRACE] 15:02:27.976 shell.go:GOOS() - 0s
[DEBUG] 15:02:27.976 segment.go:SetEnabled:533 → Segment: Shell
[DEBUG] 15:02:27.976 segment.go:SetEnabled:533 → Segment: Python
[DEBUG] 15:02:27.976 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 15:02:27.976 shell.go:Shell() - 0s
[DEBUG] 15:02:27.976 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 15:02:27.976 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[TRACE] 15:02:27.976 shell.go:Flags() - 0s
[DEBUG] 15:02:27.976 properties.go:GetStringArray:52 → folders: []
[DEBUG] 15:02:27.976 properties.go:GetStringArray:52 → folders: []
[DEBUG] 15:02:27.976 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 15:02:27.976 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:27.976 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 15:02:27.976 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 15:02:27.976 properties.go:GetBool:22 → home_enabled: false
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 shell_windows.go:58 → C:\Users\29422
[DEBUG] 15:02:27.976 properties.go:GetBool:22 → fetch_virtual_env: false
[DEBUG] 15:02:27.976 properties.go:GetString:28 → files
[DEBUG] 15:02:27.976 properties.go:GetString:28 → files
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.976 properties.go:GetBool:22 → fetch_package_manager: false
[TRACE] 15:02:27.976 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(*.go) - 511.5µs
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(*.py) - 511.5µs
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(*.js) - 511.5µs
[TRACE] 15:02:27.977 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(*.ipynb) - 0s
[TRACE] 15:02:27.977 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:404 → true
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(*.ts) - 0s
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(go.mod) - 0s
[TRACE] 15:02:27.977 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.977 properties.go:GetBool:22 → fetch_version: true
[DEBUG] 15:02:27.977 properties.go:GetBool:22 → cache_version: false
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[DEBUG] 15:02:27.977 shell.go:Getenv:326 → C:\Users\29422\AppData\Local
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(pyproject.toml) - 0s
[TRACE] 15:02:27.977 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:02:27.977 shell.go:Pwd() - 0s
[DEBUG] 15:02:27.977 shell.go:HasFilesInDir:409 → false
[TRACE] 15:02:27.977 shell.go:HasFilesInDir(venv.bak) - 0s
[DEBUG] 15:02:27.977 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.977 shell.go:HasFolder(.venv) - 0s
[DEBUG] 15:02:27.977 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.977 shell.go:HasFolder(venv) - 0s
[DEBUG] 15:02:27.977 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.977 shell.go:HasFolder(virtualenv) - 0s
[DEBUG] 15:02:27.977 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.977 shell.go:HasFolder(venv-win) - 509.4µs
[DEBUG] 15:02:27.977 shell.go:HasFolder:438 → false
[TRACE] 15:02:27.977 shell.go:HasFolder(pyenv-win) - 0s
[DEBUG] 15:02:27.982 shell.go:CommandPath:553 → C:\Program Files\nodejs\node.exe
[TRACE] 15:02:27.982 shell.go:CommandPath(node) - 5.6114ms
[TRACE] 15:02:27.982 shell.go:HasCommand(node) - 5.6114ms
[DEBUG] 15:02:28.031 shell.go:RunCommand:531 → v20.14.0
[TRACE] 15:02:28.031 shell.go:RunCommand(node --version) - 49.1008ms
[DEBUG] 15:02:28.031 properties.go:GetString:28 → https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V{{ .Major }}.md#{{ .Full }}
[DEBUG] 15:02:28.031 text.go:Render:71 → Rendering template: https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V{{ .Major }}.md#{{ .Full }}
[TRACE] 15:02:28.031 shell.go:TemplateCache() - 0s
[TRACE] 15:02:28.031 shell.go:Pwd() - 0s
[ERROR] 15:02:28.031 shell.go:FileContent:464 → open C:\Users\29422\Desktop\115-plus\.nvmrc: The system cannot find the file specified.
[TRACE] 15:02:28.031 shell.go:FileContent(.nvmrc) - 0s
[TRACE] 15:02:28.031 shell.go:TemplateCache() - 0s
[DEBUG] 15:02:28.031 text.go:Render:71 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 15:02:28.031 text.go:Render:71 → Rendering template: 
[TRACE] 15:02:28.031 shell.go:Shell() - 0s
[DEBUG] 15:02:28.031 text.go:Render:71 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 15:02:28.032 shell.go:TemplateCache() - 0s
[TRACE] 15:02:28.032 shell.go:TemplateCache() - 0s
[TRACE] 15:02:28.032 shell.go:Shell() - 0s
[TRACE] 15:02:28.032 shell.go:Shell() - 0s
[DEBUG] 15:02:28.032 text.go:Render:71 → Rendering template: plain
[DEBUG] 15:02:28.032 text.go:Render:71 → Rendering template: plain
[DEBUG] 15:02:28.032 text.go:Render:71 → Rendering template: plain
[DEBUG] 15:02:28.032 text.go:Render:71 → Rendering template: plain
[DEBUG] 15:02:28.032 text.go:Render:71 → Rendering template: plain
[TRACE] 15:02:28.032 shell.go:Shell() - 0s
[TRACE] 15:02:28.032 shell.go:Flags() - 0s
[TRACE] 15:02:28.032 shell.go:Shell() - 0s
[TRACE] 15:02:28.032 shell.go:Shell() - 0s
[DEBUG] 15:02:28.032 shell_windows.go:TerminalWidth:111 → terminal width: 277
[TRACE] 15:02:28.032 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 15:02:28.032 shell.go:Getenv:326 → C:\Users\29422\AppData\Local
[TRACE] 15:02:28.032 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:02:28.032 shell_windows.go:CachePath() - 508.1µs
[TRACE] 15:02:28.032 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 month ago

@lvzhenbo I appreciate the due diligence, but this an issue with vscode's shell integration feature.