JanDeDobbeleer / oh-my-posh

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

Right side of of theme isn't displayed correctly in VSCode #5019

Closed TobiLostInCode closed 4 months ago

TobiLostInCode commented 4 months ago

Code of Conduct

What happened?

When I open up a new Powershell in VSCode the left side of the theme is displayed correctly, but the right side is not. 2024-06-07 22_05_06-Microsoft PowerShell_profile ps1 - Visual Studio Code

After I execute "oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json' | Invoke-Expression " again everything is displayed as expected. 2024-06-07 22_07_30-Microsoft PowerShell_profile ps1 - Visual Studio Code

My Powershell profile is: Import-Module -Name Terminal-Icons Set-PSReadLineOption -PredictionSource History Set-PSReadLineOption -PredictionViewStyle ListView Set-PSReadLineOption -EditMode Windows oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json' | Invoke-Expression

When I open Terminal everything works as expected right from the get go 2024-06-07 22_10_04-

I though it might be the encoding problem with Powershell 7.4 mentioned in the FAQ, so I added " [Console]::OutputEncoding = [Text.Encoding]::UTF8 " to my profile a line before oh-my-posh init, but that did't change anything.

It still might just be configuration issue on my side, but i would be gratefull for any help

Theme

https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/jandedobbeleer.omp.json

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 21.3.0

Shell: pwsh (7.4.2)

Prompt:

 Someone    ~   0ms⠀                                                                                                                                                                          pwsh   98  21:58:13 

Segments:

ConsoleTitle(true)                         -   0 ms
Session(true)                              -   0 ms
Path(true)                                 -   3 ms
Git(false)                                 -   5 ms
Node(false)                                -   0 ms
Go(false)                                  -   1 ms
Julia(false)                               -   0 ms
Python(false)                              -   0 ms
Ruby(false)                                -   0 ms
Azfunc(false)                              -   0 ms
Aws(false)                                 -   2 ms
Root(false)                                -   0 ms
Executiontime(true)                        -   0 ms
Status(true)                               -   2 ms
Shell(true)                                -   0 ms
Ytm(false)                                 -   1 ms
Battery(true)                              -   3 ms
Time(true)                                 -   0 ms

Run duration: 20.7593ms

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

Config path: C:\Users\Someone\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvbWFpbi90aGVtZXMvamFuZGVkb2JiZWxlZXIub21wLmpzb24=.omp.json

Logs:

[DEBUG] 21:58:13.056 shell.go:Getenv:326 → vscode
[TRACE] 21:58:13.057 shell.go:Getenv(TERM_PROGRAM) - 528.9µs
[DEBUG] 21:58:13.057 shell.go:Getenv:326 → C:\Users\Someone\AppData\Local
[TRACE] 21:58:13.057 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 21:58:13.057 shell_windows.go:CachePath() - 0s
[DEBUG] 21:58:13.057 shell.go:Getenv:326 → C:\Users\Someone\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvbWFpbi90aGVtZXMvamFuZGVkb2JiZWxlZXIub21wLmpzb24=.omp.json
[TRACE] 21:58:13.057 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 21:58:13.057 shell.go:Shell:601 → no shell name provided in flags, trying to detect it
[DEBUG] 21:58:13.065 shell.go:Shell:609 → process name: pwsh.exe
[TRACE] 21:58:13.065 shell.go:Shell() - 7.4396ms
[TRACE] 21:58:13.065 shell.go:resolveConfigPath() - 7.4396ms
[TRACE] 21:58:13.065 shell.go:Init() - 8.493ms
[TRACE] 21:58:13.065 shell.go:Flags() - 0s
[TRACE] 21:58:13.065 config.go:loadConfig() - 629.6µs
[TRACE] 21:58:13.065 shell.go:Flags() - 0s
[DEBUG] 21:58:13.065 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.065 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 21:58:13.065 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.065 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 21:58:13.065 shell.go:Shell() - 0s
[DEBUG] 21:58:13.065 shell.go:Getenv:326 → 7.4.2
[TRACE] 21:58:13.065 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 21:58:13.065 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 21:58:13.065 text.go:Render:71 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 21:58:13.065 shell_windows.go:Root() - 0s
[TRACE] 21:58:13.065 shell.go:Shell() - 0s
[TRACE] 21:58:13.065 shell.go:StatusCodes() - 0s
[TRACE] 21:58:13.065 shell_windows.go:IsWsl() - 0s
[DEBUG] 21:58:13.065 shell.go:TemplateCache:782 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\Someone\AppData\Roaming CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\crashpad_30184_GFWYHYIDCUKJCSCZ CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=DESKTOP-V1E2DVT ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData EFC_12064=1 HOMEDRIVE=C: HOMEPATH=\Users\Someone LOCALAPPDATA=C:\Users\Someone\AppData\Local LOGONSERVER=\\DESKTOP-V1E2DVT NUMBER_OF_PROCESSORS=22 OneDrive=C:\Users\Someone\OneDrive OneDriveConsumer=C:\Users\Someone\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\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files\Git\cmd;C:\Program Files\PuTTY\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\PowerShell\7\;C:\Users\Someone\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\Someone\AppData\Local\Programs\Python\Python312\;C:\Users\Someone\AppData\Local\Programs\Python\Launcher\;C:\Users\Someone\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\Someone\AppData\Local\Programs\Python\Python311\;C:\Users\Someone\.cargo\bin;C:\Users\Someone\AppData\Local\Microsoft\WindowsApps;C:\Users\Someone\.dotnet\tools;C:\Users\Someone\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=7064 POSH_SHELL_VERSION=7.4.2 POSH_THEME=C:\Users\Someone\AppData\Local\oh-my-posh\config.aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0phbkRlRG9iYmVsZWVyL29oLW15LXBvc2gvbWFpbi90aGVtZXMvamFuZGVkb2JiZWxlZXIub21wLmpzb24=.omp.json POSH_THEMES_PATH=C:\Users\Someone\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 170 Stepping 4, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=aa04 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\Someone\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 SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\Someone\AppData\Local\Temp TMP=C:\Users\Someone\AppData\Local\Temp USERDOMAIN=DESKTOP-V1E2DVT USERDOMAIN_ROAMINGPROFILE=DESKTOP-V1E2DVT USERNAME=Someone USERPROFILE=C:\Users\Someone 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:\Program Files\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh VSCODE_GIT_ASKPASS_NODE=C:\Program Files\Microsoft VS Code\Code.exe VSCODE_GIT_ASKPASS_EXTRA_ARGS= VSCODE_GIT_ASKPASS_MAIN=c:\Program Files\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-18cf82b2e0-sock VSCODE_INJECTION=1]
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.065 shell.go:Pwd:356 → C:\Users\Someone
[TRACE] 21:58:13.065 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.065 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[TRACE] 21:58:13.065 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.065 shell.go:User:494 → Someone
[TRACE] 21:58:13.065 shell.go:User() - 0s
[DEBUG] 21:58:13.066 shell.go:Host:511 → DESKTOP-V1E2DVT
[TRACE] 21:58:13.066 shell.go:Host() - 505.1µs
[TRACE] 21:58:13.066 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.066 shell.go:Getenv(SHLVL) - 0s
[TRACE] 21:58:13.066 shell.go:TemplateCache() - 505.1µs
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → 1
[TRACE] 21:58:13.066 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → 1
[TRACE] 21:58:13.066 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[TRACE] 21:58:13.066 shell.go:Shell() - 0s
[TRACE] 21:58:13.066 shell.go:Shell() - 0s
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[DEBUG] 21:58:13.066 properties.go:GetString:28 → {{ .Code }}
[TRACE] 21:58:13.066 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.066 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.066 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.066 segment.go:SetEnabled:533 → Segment: Status
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[TRACE] 21:58:13.066 shell.go:StatusCodes() - 0s
[DEBUG] 21:58:13.066 text.go:Render:71 → Rendering template: {{ .Code }}
[TRACE] 21:58:13.066 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.066 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.066 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.066 segment.go:SetEnabled:533 → Segment: Git
[TRACE] 21:58:13.066 shell.go:Flags() - 0s
[TRACE] 21:58:13.066 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.066 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.066 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.066 segment.go:SetEnabled:533 → Segment: Aws
[TRACE] 21:58:13.066 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.066 properties.go:GetBool:22 → display_default: false
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.066 shell.go:Getenv(AWS_VAULT) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.066 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → C:\Users\Someone\AppData\Local
[TRACE] 21:58:13.066 shell.go:Getenv(AWS_PROFILE) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.066 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 21:58:13.066 shell.go:Getenv(AWS_REGION) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[TRACE] 21:58:13.066 shell.go:Getenv(AWS_DEFAULT_REGION) - 0s
[DEBUG] 21:58:13.066 shell.go:Getenv:326 → NO DATA
[DEBUG] 21:58:13.067 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:58:13.067 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.067 shell_windows.go:58 → C:\Users\Someone
[DEBUG] 21:58:13.067 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 21:58:13.067 shell.go:PathSeparator() - 0s
[TRACE] 21:58:13.067 shell.go:GOOS() - 0s
[TRACE] 21:58:13.067 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Getenv(AWS_CONFIG_FILE) - 1.1974ms
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Go
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:Flags() - 0s
[TRACE] 21:58:13.068 shell.go:Flags() - 0s
[DEBUG] 21:58:13.068 properties.go:GetString:28 → files
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Node
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Python
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.067 shell.go:Flags() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Executiontime
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[TRACE] 21:58:13.068 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.068 shell.go:Flags() - 0s
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Julia
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → folders: []
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Flags() - 0s
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[ERROR] 21:58:13.068 shell.go:FileContent:464 → open C:\Users\Someone/.aws/config: The system cannot find the path specified.
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 shell.go:FileContent(C:\Users\Someone/.aws/config) - 0s
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Ruby
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[DEBUG] 21:58:13.068 properties.go:GetStringArray:52 → folders: []
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → home_enabled: false
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[DEBUG] 21:58:13.068 properties.go:GetString:28 → NO DATA
[TRACE] 21:58:13.068 shell.go:Flags() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:PathSeparator() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[TRACE] 21:58:13.068 shell_windows.go:IsWsl() - 0s
[TRACE] 21:58:13.068 shell.go:StackCount() - 0s
[TRACE] 21:58:13.068 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.068 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.068 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.068 segment.go:SetEnabled:533 → Segment: Root
[TRACE] 21:58:13.068 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.068 properties.go:GetBool:22 → always_enabled: true
[TRACE] 21:58:13.068 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.068 shell_windows.go:Root() - 0s
[DEBUG] 21:58:13.069 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 21:58:13.069 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 21:58:13.069 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 21:58:13.069 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 21:58:13.069 shell_windows.go:DirIsWritable() - 1.0503ms
[TRACE] 21:58:13.069 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.071 shell.go:CommandPath:553 → C:\Program Files\Git\cmd\git.exe
[TRACE] 21:58:13.071 shell.go:CommandPath(git.exe) - 5.3983ms
[TRACE] 21:58:13.071 shell.go:HasCommand(git.exe) - 5.3983ms
[TRACE] 21:58:13.071 shell.go:Pwd() - 0s
[ERROR] 21:58:13.071 shell.go:HasParentFilePath:697 → CreateFile .git: The system cannot find the file specified.
[TRACE] 21:58:13.071 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 21:58:13.071 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: <parentBackground></> 
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: <transparent></>  {{ .FormattedMs }}⠀
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template:  {{ .UserName }}
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template:    {{ .Path }}
[TRACE] 21:58:13.072 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[TRACE] 21:58:13.072 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[TRACE] 21:58:13.072 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: diamond
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: plain
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: {{ if gt .Code 0 }}#e91e63{{ end }}
[TRACE] 21:58:13.072 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.072 text.go:Render:71 → Rendering template: diamond
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[TRACE] 21:58:13.072 shell.go:Shell() - 0s
[TRACE] 21:58:13.073 shell.go:Flags() - 0s
[TRACE] 21:58:13.073 shell.go:Pwd() - 0s
[TRACE] 21:58:13.073 shell.go:Flags() - 0s
[DEBUG] 21:58:13.073 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.073 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.073 segment.go:SetEnabled:533 → Segment: Time
[DEBUG] 21:58:13.073 properties.go:GetString:28 → 15:04:05
[TRACE] 21:58:13.073 shell.go:Pwd() - 0s
[TRACE] 21:58:13.073 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.073 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.073 shell.go:GOOS() - 0s
[TRACE] 21:58:13.073 shell.go:Flags() - 0s
[DEBUG] 21:58:13.073 segment.go:SetEnabled:533 → Segment: Ytm
[TRACE] 21:58:13.073 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.073 properties.go:GetString:28 → http://127.0.0.1:9863
[DEBUG] 21:58:13.073 properties.go:GetInt:40 → api_url: 20
[TRACE] 21:58:13.073 shell.go:Pwd() - 0s
[DEBUG] 21:58:13.073 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.073 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.073 segment.go:SetEnabled:533 → Segment: Battery
[DEBUG] 21:58:13.073 shell_windows.go:58 → C:\Users\Someone
[TRACE] 21:58:13.073 shell_windows.go:IsWsl() - 0s
[TRACE] 21:58:13.073 shell.go:GOOS() - 0s
[DEBUG] 21:58:13.073 segment.go:SetEnabled:533 → Segment: Shell
[DEBUG] 21:58:13.073 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 21:58:13.073 shell.go:Shell() - 0s
[TRACE] 21:58:13.073 shell.go:Flags() - 0s
[TRACE] 21:58:13.073 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.073 shell.go:HTTPRequest:653 ↓
    GET /query HTTP/1.1
    Host: 127.0.0.1:9863
    User-Agent: Go-http-client/1.1
    Accept-Encoding: gzip

[ERROR] 21:58:13.074 shell.go:HTTPRequest:657 → Get "http://127.0.0.1:9863/query": dial tcp 127.0.0.1:9863: connectex: No connection could be made because the target machine actively refused it.
[TRACE] 21:58:13.074 shell.go:HTTPRequest(http://127.0.0.1:9863/query) - 1.045ms
[TRACE] 21:58:13.076 shell_windows_nix.go:BatteryState() - 3.0856ms
[DEBUG] 21:58:13.076 properties.go:GetString:28 → 
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template:  {{ .CurrentDate | date .Format }}
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: <#0077c2,transparent></>  {{ .Name }} <transparent,#0077c2></>
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template:  {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.076 shell.go:Shell() - 0s
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.076 shell.go:Shell() - 0s
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[TRACE] 21:58:13.076 shell.go:Shell() - 0s
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: plain
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: {{if eq "Charging" .State.String}}#40c4ff{{end}}
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: {{if eq "Discharging" .State.String}}#ff5722{{end}}
[TRACE] 21:58:13.076 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.076 text.go:Render:71 → Rendering template: {{if eq "Full" .State.String}}#4caf50{{end}}
[TRACE] 21:58:13.077 shell.go:TemplateCache() - 0s
[DEBUG] 21:58:13.077 text.go:Render:71 → Rendering template: powerline
[DEBUG] 21:58:13.077 text.go:Render:71 → Rendering template: diamond
[TRACE] 21:58:13.077 shell.go:Shell() - 0s
[TRACE] 21:58:13.077 shell.go:Flags() - 0s
[TRACE] 21:58:13.077 shell.go:Shell() - 0s
[TRACE] 21:58:13.077 shell.go:Shell() - 0s
[DEBUG] 21:58:13.077 shell_windows.go:TerminalWidth:111 → terminal width: 229
[TRACE] 21:58:13.077 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 21:58:13.077 shell.go:Getenv:326 → C:\Users\Someone\AppData\Local
[TRACE] 21:58:13.077 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 21:58:13.077 shell_windows.go:CachePath() - 520.4µs
[TRACE] 21:58:13.077 shell.go:Flags() - 0s
JanDeDobbeleer commented 4 months ago

@TobiLostInCode bug in vscode, they are fixing it.

github-actions[bot] commented 4 weeks 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.