JanDeDobbeleer / oh-my-posh

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

Wrong theme presentation in vscode #4233

Closed nklowns closed 1 year ago

nklowns commented 1 year ago

Code of Conduct

What happened?

A bug happened!

As you can see, the powershell in the vscode looks strange with blank spaces, I use the FiraCode NerdFonts font, follow images for identification.

image

image

Above is the powershell in vscode image

Below is bash in vscode image

My user settings on vscode:

  "terminal.external.windowsExec": "pwsh",
  "terminal.integrated.enableMultiLinePasteWarning": false,
  "terminal.integrated.defaultProfile.linux": "bash",
  "terminal.integrated.profiles.linux": {
    "bash": {
      "path": "bash",
      "args": ["-l"]
    }
  },
  "terminal.integrated.env.windows": {},
  "terminal.integrated.inheritEnv": false,
  "terminal.integrated.fontSize": 12,
  "terminal.integrated.gpuAcceleration": "auto",
  "terminal.integrated.minimumContrastRatio": 1,
  "terminal.integrated.shellIntegration.enabled": true,
  "terminal.integrated.fontFamily": "FiraCode Nerd Font",

Theme

my theme is hosted on github

What OS are you seeing the problem on?

Windows

Which shell are you using?

bash, powershell

Log output

oh-my-posh debug --plain

Version: 18.7.0

Shell: pwsh (7.3.6)

Prompt:

    pwsh  ⠀ CPU: 68%⠀󰍛 MEM: 11/16GB                                                                                                                                                                                                            100% ⠀󰖩 
⠀
╭─ ♥ 00:38 | 󰋜 
╰─ 

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Session(false)                             -   0 ms
Shell(true)                                -   0 ms
Sysinfo(true)                              -   0 ms
Sysinfo(true)                              -   0 ms
Executiontime(false)                       -   0 ms
Git(false)                                 -   4 ms
Text(false)                                -   0 ms
Development(false)                         -   0 ms
Development(false)                         -   0 ms
Development(false)                         -   0 ms
Development(false)                         -   0 ms
Text(false)                                -   0 ms
Battery(true)                              -  15 ms
Connection(true)                           -   5 ms
Kubectl(false)                             -  48 ms
Aws(false)                                 -   0 ms
Az(false)                                  -   0 ms
Cftarget(false)                            -   5 ms
Text(true)                                 -   0 ms
Time(true)                                 -   0 ms
Root(false)                                -   0 ms
Path(true)                                 -   0 ms
Exit(true)                                 -   0 ms

Run duration: 79.5379ms

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

Config path: C:\Users\cloud\Documents\PowerShell\nks.omp.json

Logs:

[DEBUG] 00:38:48.985 shell.go:Getenv:392 → vscode
[TRACE] 00:38:48.985 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 00:38:48.985 shell.go:Getenv:392 → C:\Users\cloud\AppData\Local
[TRACE] 00:38:48.985 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 00:38:48.985 shell_windows.go:CachePath() - 0s
[DEBUG] 00:38:48.985 shell.go:Getenv:392 → C:\Users\cloud\Documents\PowerShell\nks.omp.json
[TRACE] 00:38:48.985 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 00:38:48.985 shell.go:Shell:632 → no shell name provided in flags, trying to detect it
[DEBUG] 00:38:48.991 shell.go:Shell:640 → process name: pwsh.exe
[TRACE] 00:38:48.991 shell.go:Shell() - 5.5046ms
[TRACE] 00:38:48.991 shell.go:resolveConfigPath() - 5.5046ms
[TRACE] 00:38:48.991 shell.go:Init() - 6.1116ms
[TRACE] 00:38:48.991 shell.go:Flags() - 0s
[TRACE] 00:38:48.992 config.go:loadConfig() - 592.7µs
[TRACE] 00:38:48.992 shell.go:Flags() - 0s
[DEBUG] 00:38:48.992 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:48.992 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 00:38:48.992 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.992 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC4D0000C
[TRACE] 00:38:48.992 shell.go:Shell() - 0s
[DEBUG] 00:38:48.992 shell.go:Getenv:392 → 7.3.6
[TRACE] 00:38:48.992 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 00:38:48.992 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 00:38:48.992 text.go:Render:70 → Rendering template: {{if .Root}}⚡ {{end}}{{.HostName}} ➔ {{ .Folder }}
[TRACE] 00:38:48.992 shell_windows.go:Root() - 0s
[TRACE] 00:38:48.992 shell.go:Shell() - 0s
[TRACE] 00:38:48.992 shell.go:StatusCodes() - 0s
[TRACE] 00:38:48.992 shell_windows.go:IsWsl() - 0s
[DEBUG] 00:38:48.992 shell.go:TemplateCache:813 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\cloud\AppData\Roaming CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\LOCAL\crashpad_22548_YIWAQZUULUONQTUD COMPUTERNAME=GENESIS-NKS CONDA_PROMPT_MODIFIER=False ComSpec=C:\Windows\system32\cmd.exe CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files DriverData=C:\Windows\System32\Drivers\DriverData FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer FPS_BROWSER_USER_PROFILE_STRING=Default GIT_INSTALL_ROOT=C:\Scoop\apps\git\current HOMEDRIVE=C: HOMEPATH=\Users\cloud IGCCSVC_DB=AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAAFsU4eJG0VU+Ym8qnDmFEKAQAAAACAAAAAAAQZgAAAAEAACAAAAAgzNiQX0VtPJyF+2Shk0MfPn0t57EbRcMStrDyfk42JwAAAAAOgAAAAAIAACAAAAARp2a64Wcy3FQOUk2xOqWxtGGzcDz0VOdSLiL/fx6lIGAAAADif9MdgSfL7yk3Um33yKfCtUbwOnR1ayO+SIBzjInkoJaBKlnPTcgOFBNGPlBlm6/SsbgR2mKTS9Cgvn1PlzvnuQxv5cSkIlPLpkwJKyt5X4/uF1p4Rn8K24Sl0dJpgvdAAAAAeioarMhWAmWG/an4j9Tb2x5t5Hh7QYIeHSrSDbqP6C7kUUB0HnZ2JJi70BIHrFW5fO7sPKuPiWg3HjWjip1V8w== JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\ LOCALAPPDATA=C:\Users\cloud\AppData\Local LOGONSERVER=\\GENESIS-NKS MAGICK_CODER_MODULE_PATH=C:\Scoop\apps\imagemagick\current\modules\coders MAGICK_CONFIGURE_PATH=C:\Scoop\apps\imagemagick\current MAGICK_HOME=C:\Scoop\apps\imagemagick\current NUMBER_OF_PROCESSORS=20 OPENSSL_CONF=C:\Scoop\apps\openssl\current\bin\cnf\openssl.cnf OPENSSL_INCLUDE_DIR=C:\Scoop\apps\openssl\current\include OPENSSL_LIB_DIR=C:\Scoop\apps\openssl\current\lib OPENSSL_MODULES=C:\Scoop\apps\openssl\current\bin ORIGINAL_XDG_CURRENT_DESKTOP=undefined OS=Windows_NT OneDrive=C:\Users\cloud\OneDrive OneDriveConsumer=C:\Users\cloud\OneDrive PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PHP_INI_SCAN_DIR=C:\Scoop\apps\php74\current\cli;C:\Scoop\apps\php74\current\cli\conf.d; POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=35 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=11268 POSH_SHELL_VERSION=7.3.6 POSH_THEME=C:\Users\cloud\Documents\PowerShell\nks.omp.json POSH_THEMES_PATH=C:\Users\cloud\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 154 Stepping 3, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=9a03 PSModulePath=C:\Users\cloud\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 Path=C:\Program Files\PowerShell\7;C:\Program Files\Eclipse Adoptium\jdk-11.0.20.101-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.382.5-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\bin;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Volta\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Windows\System32\OpenSSH\;C:\Program Files\PowerShell\7\;C:\Program Files\Docker\Docker\resources\bin;C:\Scoop\apps\openssl\current\bin;C:\Scoop\apps\imagemagick\current;C:\Users\cloud\.console-ninja\.bin;C:\Users\cloud\AppData\Local\Volta\bin;C:\Users\cloud\AppData\Local\Programs\oh-my-posh\bin;C:\Users\cloud\AppData\Local\Programs\Microsoft VS Code\bin;C:\Scoop\shims;C:\Users\cloud\AppData\Local\Microsoft\WindowsApps ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\cloud\AppData\Local\Temp TMP=C:\Users\cloud\AppData\Local\Temp USERDOMAIN=GENESIS-NKS USERDOMAIN_ROAMINGPROFILE=GENESIS-NKS USERNAME=cloud USERPROFILE=C:\Users\cloud WSLENV=VSCODE_CLI_REMOTE_ENV/w:ELECTRON_RUN_AS_NODE/w:WT_SESSION::WT_PROFILE_ID WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=7443e367-0986-40b5-a1e0-3d004b46eb9b ZES_ENABLE_SYSMAN=1 windir=C:\Windows TERM_PROGRAM=vscode TERM_PROGRAM_VERSION=1.81.1 LANG=pt_BR.UTF-8 COLORTERM=truecolor GIT_ASKPASS=c:\Users\cloud\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh VSCODE_GIT_ASKPASS_NODE=C:\Users\cloud\AppData\Local\Programs\Microsoft VS Code\Code.exe VSCODE_GIT_ASKPASS_EXTRA_ARGS=--ms-enable-electron-run-as-node VSCODE_GIT_ASKPASS_MAIN=c:\Users\cloud\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-769842a147-sock VSCODE_INJECTION=1]
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.992 shell.go:Pwd:422 → C:\Users\cloud
[TRACE] 00:38:48.992 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.992 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.992 shell.go:User:543 → cloud
[TRACE] 00:38:48.992 shell.go:User() - 0s
[DEBUG] 00:38:48.992 shell.go:Host:555 → GENESIS-NKS
[TRACE] 00:38:48.992 shell.go:Host() - 0s
[TRACE] 00:38:48.992 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.992 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:48.992 shell.go:Getenv(SHLVL) - 0s
[TRACE] 00:38:48.992 shell.go:TemplateCache() - 544µs
[DEBUG] 00:38:48.992 shell.go:Getenv:392 → 35
[TRACE] 00:38:48.992 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 00:38:48.992 shell.go:Getenv:392 → 1
[TRACE] 00:38:48.992 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 00:38:48.992 shell.go:Flags() - 0s
[TRACE] 00:38:48.992 shell.go:Flags() - 0s
[TRACE] 00:38:48.992 shell.go:Shell() - 0s
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[TRACE] 00:38:48.993 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Executiontime
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[DEBUG] 00:38:48.993 properties.go:GetBool:22 → always_enabled: false
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:ExecutionTime() - 0s
[TRACE] 00:38:48.993 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.993 properties.go:GetFloat64:34 → threshold: 500.000000
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Os
[DEBUG] 00:38:48.993 properties.go:GetInt:40 → precision: 2
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.993 properties.go:GetString:28 → 
[TRACE] 00:38:48.993 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[TRACE] 00:38:48.993 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Sysinfo
[TRACE] 00:38:48.993 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Shell
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Session
[DEBUG] 00:38:48.993 properties.go:GetInt:40 → precision: 2
[DEBUG] 00:38:48.993 shell.go:Getenv:392 → NO DATA
[DEBUG] 00:38:48.993 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[bash: bash pwsh: pwsh]
[TRACE] 00:38:48.993 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 00:38:48.993 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:48.993 shell.go:Shell() - 0s
[TRACE] 00:38:48.993 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 00:38:48.993 shell.go:Flags() - 0s
[TRACE] 00:38:48.993 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:48.993 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.993 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.993 segment.go:SetEnabled:497 → Segment: Sysinfo
[TRACE] 00:38:48.993 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:48.993 text.go:Render:70 → Rendering template:  {{ if .WSL }} {{ end }}{{.Icon}}
[DEBUG] 00:38:48.993 text.go:Render:70 → Rendering template:  {{ .Name }} {{ .Version }}
[DEBUG] 00:38:48.993 text.go:Render:70 → Rendering template: {{ if .SSHSession }}  {{ .UserName }}@{{ .HostName }} {{ end }}
[DEBUG] 00:38:48.993 text.go:Render:70 → Rendering template: ⠀󰍛 MEM: {{ (div ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1000000000.0) }}/{{ (div .PhysicalTotalMemory 1000000000.0) }}GB
[DEBUG] 00:38:48.994 text.go:Render:70 → Rendering template: ⠀ CPU: {{ round .PhysicalPercentUsed .Precision }}%
[TRACE] 00:38:48.994 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.994 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.994 shell.go:Shell() - 0s
[TRACE] 00:38:48.994 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.994 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.994 shell.go:Shell() - 0s
[TRACE] 00:38:48.994 shell.go:Shell() - 0s
[TRACE] 00:38:48.994 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.994 shell.go:Shell() - 0s
[TRACE] 00:38:48.995 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.995 shell.go:Shell() - 0s
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:48.995 text.go:Render:70 → Rendering template: diamond
[TRACE] 00:38:48.995 shell.go:Shell() - 0s
[TRACE] 00:38:48.995 shell.go:Shell() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Connection
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Git
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Development
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.995 properties.go:GetString:28 → wifi|ethernet
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Development
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → folders: []
[DEBUG] 00:38:48.995 properties.go:GetBool:22 → home_enabled: false
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 shell.go:Getenv:392 → C:\Program Files\Eclipse Adoptium\jdk-17.0.8.101-hotspot\
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:Getenv(JAVA_HOME) - 0s
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Text
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[TRACE] 00:38:48.995 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Development
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → extensions: [pom.xml build.gradle.kts build.sbt .java-version .deps.edn project.clj build.boot *.java *.class *.gradle *.jar *.clj *.cljc]
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → folders: []
[DEBUG] 00:38:48.995 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 00:38:48.995 properties.go:GetString:28 → environment
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Development
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv env venv-win pyenv-win]
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:48.995 properties.go:GetBool:22 → home_enabled: false
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Text
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:TemplateCache() - 0s
[TRACE] 00:38:48.995 shell.go:Flags() - 0s
[TRACE] 00:38:48.995 shell.go:Pwd() - 0s
[DEBUG] 00:38:48.995 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:48.995 shell.go:GOOS() - 0s
[DEBUG] 00:38:48.995 segment.go:SetEnabled:497 → Segment: Battery
[TRACE] 00:38:48.995 shell_windows.go:IsWsl() - 0s
[TRACE] 00:38:48.996 networks_windows.go:wifiNetwork() - 0s
[DEBUG] 00:38:49.000 shell.go:CommandPath:594 → C:\Scoop\shims\git.exe
[TRACE] 00:38:49.000 shell.go:CommandPath(git.exe) - 4.9779ms
[TRACE] 00:38:49.000 shell.go:HasCommand(git.exe) - 4.9779ms
[TRACE] 00:38:49.000 shell.go:Pwd() - 0s
[ERROR] 00:38:49.000 shell.go:HasParentFilePath:728 → CreateFile .git: The system cannot find the file specified.
[TRACE] 00:38:49.000 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 00:38:49.000 properties.go:GetBool:22 → fetch_bare_info: false
[TRACE] 00:38:49.000 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.010 shell_windows_nix.go:BatteryState() - 15.7002ms
[DEBUG] 00:38:49.010 properties.go:GetString:28 → 
[TRACE] 00:38:49.010 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.010 text.go:Render:70 → Rendering template: ⠀{{ if eq .Type "wifi" }}󰖩{{ else if eq .Type "ethernet"}}󰈀{{ else if eq .Type "bluetooth" }}󰂯{{ else if eq .Type "cellular" }}󰒢{{ end }} ⠀
[DEBUG] 00:38:49.010 text.go:Render:70 → Rendering template: {{ if .Segments.Contains "Development" }}⠀{{ end }}
[DEBUG] 00:38:49.011 text.go:Render:70 → Rendering template: {{ if .Segments.Contains "Development" }}⠀{{ end }}
[DEBUG] 00:38:49.011 text.go:Render:70 → Rendering template: {{ if .Error }}{{ .Error }}{{ else }} {{ .Icon }}{{ .Percentage }}% {{ end }}
[TRACE] 00:38:49.011 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.011 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.011 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.011 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.011 shell.go:Shell() - 0s
[TRACE] 00:38:49.012 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.012 shell.go:Shell() - 0s
[TRACE] 00:38:49.013 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.013 shell.go:Shell() - 0s
[TRACE] 00:38:49.013 shell.go:Shell() - 0s
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: {{if eq "Charging" .State.String}}#40c4ff{{end}}
[TRACE] 00:38:49.013 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: {{if eq "Discharging" .State.String}}#ff5722{{end}}
[TRACE] 00:38:49.013 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: {{if eq "Full" .State.String}}#4caf50{{end}}
[TRACE] 00:38:49.013 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: powerline
[DEBUG] 00:38:49.013 text.go:Render:70 → Rendering template: {{ if (lt .TransmitRate 300) }}#9ce1f0{{ else if (lt .TransmitRate 600) }}#5ac9f4{{ else if (lt .TransmitRate 900) }}#10c5ec{{ else }}#08a1ec{{ end }}
[TRACE] 00:38:49.014 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.014 text.go:Render:70 → Rendering template: diamond
[DEBUG] 00:38:49.014 shell_windows.go:TerminalWidth:109 → terminal width: 261
[TRACE] 00:38:49.014 shell_windows.go:TerminalWidth() - 0s
[TRACE] 00:38:49.014 shell.go:Shell() - 0s
[TRACE] 00:38:49.014 shell.go:Shell() - 0s
[TRACE] 00:38:49.014 shell.go:Flags() - 0s
[TRACE] 00:38:49.014 shell.go:Flags() - 0s
[TRACE] 00:38:49.014 shell.go:Pwd() - 0s
[TRACE] 00:38:49.014 shell.go:Flags() - 0s
[TRACE] 00:38:49.014 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.014 segment.go:SetEnabled:497 → Segment: Cftarget
[TRACE] 00:38:49.014 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.014 segment.go:SetEnabled:497 → Segment: Aws
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.014 properties.go:GetBool:22 → display_default: true
[DEBUG] 00:38:49.014 segment.go:SetEnabled:497 → Segment: Kubectl
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 00:38:49.014 properties.go:GetBool:22 → parse_kubeconfig: false
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AWS_CONFIG_FILE) - 0s
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:Flags() - 0s
[TRACE] 00:38:49.014 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.014 segment.go:SetEnabled:497 → Segment: Az
[DEBUG] 00:38:49.014 properties.go:GetString:28 → first_match
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(AZURE_CONFIG_DIR) - 0s
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[ERROR] 00:38:49.014 shell.go:FileContent:513 → open C:\Users\cloud/.aws/config: The system cannot find the file specified.
[DEBUG] 00:38:49.014 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.014 shell.go:FileContent(C:\Users\cloud/.aws/config) - 0s
[DEBUG] 00:38:49.014 shell.go:HasFilesInDir:458 → false
[TRACE] 00:38:49.014 shell.go:HasFilesInDir(azureProfile.json) - 0s
[DEBUG] 00:38:49.014 shell.go:HasFilesInDir:458 → false
[TRACE] 00:38:49.014 shell.go:HasFilesInDir(azureProfile.json) - 0s
[DEBUG] 00:38:49.014 shell.go:Getenv:392 → NO DATA
[TRACE] 00:38:49.014 shell.go:Getenv(POSH_AZURE_SUBSCRIPTION) - 0s
[DEBUG] 00:38:49.018 shell.go:CommandPath:594 → C:\Program Files\Docker\Docker\resources\bin\kubectl.exe
[TRACE] 00:38:49.018 shell.go:CommandPath(kubectl) - 3.9033ms
[TRACE] 00:38:49.018 shell.go:HasCommand(kubectl) - 3.9033ms
[ERROR] 00:38:49.019 shell.go:CommandPath:597 → exec: "cf": executable file not found in %PATH%
[TRACE] 00:38:49.019 shell.go:CommandPath(cf) - 5.6903ms
[TRACE] 00:38:49.019 shell.go:HasCommand(cf) - 5.6903ms
[ERROR] 00:38:49.062 shell.go:RunCommand:571 → exit status 1
[DEBUG] 00:38:49.062 shell.go:RunCommand:573 ↓
    error: current-context must exist in order to minify

[TRACE] 00:38:49.062 shell.go:RunCommand(kubectl config view --output yaml --minify) - 44.2361ms
[DEBUG] 00:38:49.062 properties.go:GetBool:22 → display_error: false
[TRACE] 00:38:49.063 shell.go:Shell() - 0s
[TRACE] 00:38:49.063 shell.go:Shell() - 0s
[TRACE] 00:38:49.063 shell.go:Flags() - 0s
[TRACE] 00:38:49.063 shell.go:Flags() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[TRACE] 00:38:49.063 shell.go:Flags() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.063 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[TRACE] 00:38:49.063 shell.go:Flags() - 0s
[DEBUG] 00:38:49.063 shell_windows.go:56 → C:\Users\cloud
[DEBUG] 00:38:49.063 segment.go:SetEnabled:497 → Segment: Path
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[TRACE] 00:38:49.063 shell.go:Shell() - 0s
[TRACE] 00:38:49.063 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.063 shell.go:Flags() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.063 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.063 segment.go:SetEnabled:497 → Segment: Root
[DEBUG] 00:38:49.063 segment.go:SetEnabled:497 → Segment: Time
[DEBUG] 00:38:49.063 properties.go:GetString:28 → 15:04
[TRACE] 00:38:49.063 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.063 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 00:38:49.063 properties.go:GetString:28 → 
[DEBUG] 00:38:49.063 properties.go:GetString:28 → 
[DEBUG] 00:38:49.063 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.063 properties.go:GetString:28 → 󰋜
[TRACE] 00:38:49.063 shell_windows.go:Root() - 0s
[DEBUG] 00:38:49.063 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:GOOS() - 0s
[TRACE] 00:38:49.063 shell.go:PathSeparator() - 0s
[TRACE] 00:38:49.063 shell.go:Pwd() - 0s
[TRACE] 00:38:49.063 shell_windows.go:IsWsl() - 0s
[TRACE] 00:38:49.063 shell.go:StackCount() - 0s
[DEBUG] 00:38:49.063 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 00:38:49.063 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 00:38:49.063 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 00:38:49.063 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 00:38:49.063 shell_windows.go:DirIsWritable() - 571.1µs
[TRACE] 00:38:49.063 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.063 text.go:Render:70 → Rendering template:  {{ .Path }}
[DEBUG] 00:38:49.063 text.go:Render:70 → Rendering template: ╭─
[TRACE] 00:38:49.063 shell.go:Shell() - 0s
[DEBUG] 00:38:49.063 text.go:Render:70 → Rendering template:  ♥ {{ .CurrentDate | date .Format }} |
[TRACE] 00:38:49.064 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[TRACE] 00:38:49.064 shell.go:TemplateCache() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[DEBUG] 00:38:49.064 shell.go:Getenv:392 → vscode
[TRACE] 00:38:49.064 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: plain
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: plain
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[TRACE] 00:38:49.064 shell.go:Flags() - 0s
[DEBUG] 00:38:49.064 properties.go:GetString:28 → {{ .Code }}
[TRACE] 00:38:49.064 shell.go:Pwd() - 0s
[DEBUG] 00:38:49.064 shell_windows.go:56 → C:\Users\cloud
[TRACE] 00:38:49.064 shell.go:GOOS() - 0s
[DEBUG] 00:38:49.064 segment.go:SetEnabled:497 → Segment: Exit
[TRACE] 00:38:49.064 shell.go:StatusCodes() - 0s
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 00:38:49.064 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.064 properties.go:GetBool:22 → always_enabled: true
[TRACE] 00:38:49.064 shell.go:TemplateCache() - 0s
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: ╰─
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[DEBUG] 00:38:49.064 shell.go:Getenv:392 → vscode
[TRACE] 00:38:49.064 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: plain
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[TRACE] 00:38:49.064 shell.go:Flags() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[TRACE] 00:38:49.064 shell.go:Pwd() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[DEBUG] 00:38:49.064 text.go:Render:70 → Rendering template: osc99
[DEBUG] 00:38:49.064 shell.go:User:543 → cloud
[TRACE] 00:38:49.064 shell.go:User() - 0s
[DEBUG] 00:38:49.064 shell.go:Host:555 → GENESIS-NKS
[TRACE] 00:38:49.064 shell.go:Host() - 0s
[TRACE] 00:38:49.064 shell.go:Shell() - 0s
[DEBUG] 00:38:49.064 shell.go:Getenv:392 → C:\Users\cloud\AppData\Local
[TRACE] 00:38:49.064 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 00:38:49.064 shell_windows.go:CachePath() - 0s
[TRACE] 00:38:49.064 shell.go:Flags() - 0s
nklowns commented 1 year ago

Using the Windows Terminal to open powershell, the theme is displayed correctly image

JanDeDobbeleer commented 1 year ago

This is a VSCode bug, not something we can solve unfortunately.

nklowns commented 1 year ago

Do you know if there is already an issue or a name for this VSCode bug? @JanDeDobbeleer Thank you

JanDeDobbeleer commented 1 year ago

@nklowns no, sorry. But there should be.

justanindieguy commented 7 months ago

I have this same problem. It'd be better if you can report this in VS Code bugs thread on GitHub.

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity (i.e. last half year) after it was closed. It helps our maintainers focus on the active issues. If you have found a problem that seems similar, please open a discussion first, complete the body with all the details necessary to reproduce, and mention this issue as reference.