JanDeDobbeleer / oh-my-posh

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

Can't Load URL pointing to a remote config #4294

Closed ChongZhiJie0216 closed 1 year ago

ChongZhiJie0216 commented 1 year ago

Code of Conduct

What happened?

Can't load a URL pointing to a remote config; only the local configuration file can be used. Both my desktop and laptop are facing this issue after installing Windows 11 Version 22H2 for x64-based Systems (KB5030310).I Test Offical Themes and my themes ,all remote config not working

Windows Version:

Host Name:                 CHONGZHIJIE-I5
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22621 N/A Build 22621

Microsoft.PowerShell_profile.ps1

Import-Module -Name Terminal-Icons
# oh-my-posh prompt init pwsh --config "https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json" | Invoke-Expression
oh-my-posh prompt init pwsh --config "$($env:POSH_THEMES_PATH)/custom-themes/blueish.omp.json" | Invoke-Expression

Theme

Remote Theme:

https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json

Local Theme:

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "blocks": [
    {
      "alignment": "left",
      "segments": [
        {
          "background": "#546E7A",
          "foreground": "#26C6DA",
          "leading_diamond": "",
          "properties": {
            "macos": "mac"
          },
          "style": "diamond",
          "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}} ",
          "trailing_diamond": "",
          "type": "os"
        },
        {
          "background": "#546E7A",
          "foreground": "#26C6DA",
          "powerline_symbol": "",
          "style": "powerline",
          "template": " {{ .UserName }}@{{ .HostName }} ",
          "type": "session"
        },
        {
          "background": "#a2beef",
          "background_templates": [
            "{{if eq \"Charging\" .State.String}}#00D100{{end}}",
            "{{if eq \"Discharging\" .State.String}}#FFCD58{{end}}",
            "{{if eq \"Full\" .State.String}}#0476d0{{end}}"
          ],
          "foreground": "#193549",
          "powerline_symbol": "",
          "style": "powerline",
          "template": " {{ if not .Error }}{{ .Icon }}{{ .Percentage }}{{ end }}{{ .Error }}  ",
          "type": "battery"
        },
        {
          "background": "#14c2dd",
          "foreground": "#193549",
          "powerline_symbol": "",
          "properties": {
            "style": "folder"
          },
          "style": "powerline",
          "template": "  {{ .Path }} ",
          "type": "path"
        },
        {
          "background": "#a2c4e0",
          "foreground": "#193549",
          "powerline_symbol": "",
          "properties": {
            "fetch_stash_count": true,
            "fetch_upstream_icon": true
          },
          "style": "powerline",
          "template": " {{ .UpstreamIcon }}{{ .HEAD }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }} ",
          "type": "git"
        },
        {
          "background": "#6CA35E",
          "foreground": "#ffffff",
          "powerline_symbol": "",
          "style": "powerline",
          "template": "  {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }} ",
          "type": "node"
        },
        {
          "background": "#ffff66",
          "foreground": "#193549",
          "powerline_symbol": "",
          "style": "powerline",
          "template": "  ",
          "type": "root"
        },
        {
          "background": "#0077c2",
          "foreground": "#ffffff",
          "powerline_symbol": "",
          "style": "powerline",
          "template": "  {{.Context}} :: {{if .Namespace}}{{.Namespace}}{{else}}default{{end}} ",
          "type": "kubectl"
        },
        {
          "background": "#007800",
          "background_templates": ["{{ if gt .Code 0 }}#f1184c{{ end }}"],
          "foreground": "#ffffff",
          "leading_diamond": "<transparent,background></>",
          "properties": {
            "always_enabled": true
          },
          "style": "diamond",
          "template": "  ",
          "trailing_diamond": "",
          "type": "status"
        },
        {
          "background": "#FFDE57",
          "foreground": "#111111",
          "powerline_symbol": "\ue0b0",
          "properties": {
            "display_mode": "environment",
            "fetch_virtual_env": true,
            "home_enabled": true
          },
          "style": "powerline",
          "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }} ",
          "type": "python"
        }
      ],
      "type": "prompt"
    },
    {
      "alignment": "left",
      "newline": true,
      "segments": [
        {
          "foreground": "#007ACC",
          "style": "plain",
          "template": "➜ ",
          "type": "text"
        }
      ],
      "type": "prompt"
    }
  ],
  "final_space": true,
  "version": 2
}

What OS are you seeing the problem on?

Windows

Which shell are you using?

cmd, powershell

Log output

Version: 18.10.1

Shell: pwsh (7.3.7)

Prompt:

   ChongZhiJie@ChongZhiJie-i5   ~   
➜

Segments:

ConsoleTitle(false)                       -   0 ms
Os(true)                                  -   0 ms
Session(true)                             -   0 ms
Battery(false)                            -   2 ms
Path(true)                                -   0 ms
Git(false)                                -  24 ms
Node(false)                               -   0 ms
Root(false)                               -   0 ms
Kubectl(false)                            -  26 ms
Status(true)                              -   0 ms
Python(false)                             -   4 ms
Text(true)                                -   0 ms

Run duration: 39.6575ms

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

Config path: C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\themes\custom-themes\blueish.omp.json

Logs:

[DEBUG] 14:42:54.598 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.598 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 14:42:54.598 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local
[TRACE] 14:42:54.598 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 14:42:54.598 shell_windows.go:CachePath() - 0s
[DEBUG] 14:42:54.601 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\themes\custom-themes\blueish.omp.json
[TRACE] 14:42:54.601 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 14:42:54.601 shell.go:Shell:632 → no shell name provided in flags, trying to detect it
[DEBUG] 14:42:54.607 shell.go:Shell:640 → process name: pwsh.exe
[TRACE] 14:42:54.607 shell.go:Shell() - 6.315ms
[TRACE] 14:42:54.607 shell.go:resolveConfigPath() - 6.315ms
[TRACE] 14:42:54.607 shell.go:Init() - 9.1573ms
[TRACE] 14:42:54.607 shell.go:Flags() - 0s
[TRACE] 14:42:54.609 config.go:loadConfig() - 2.0122ms
[TRACE] 14:42:54.609 shell.go:Flags() - 0s
[DEBUG] 14:42:54.609 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.609 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 14:42:54.609 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[TRACE] 14:42:54.609 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.609 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC4261E5E
[TRACE] 14:42:54.609 shell.go:Shell() - 0s
[DEBUG] 14:42:54.609 shell.go:Getenv:392 → 7.3.7
[TRACE] 14:42:54.609 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 14:42:54.609 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 14:42:54.609 text.go:Render:70 → Rendering template:
[DEBUG] 14:42:54.609 shell.go:Getenv:392 → 3
[TRACE] 14:42:54.609 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 14:42:54.609 shell.go:Getenv:392 → 1
[TRACE] 14:42:54.609 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 14:42:54.609 shell.go:Flags() - 0s
[TRACE] 14:42:54.609 shell.go:Flags() - 0s
[TRACE] 14:42:54.609 shell.go:Shell() - 0s
[TRACE] 14:42:54.609 shell.go:Shell() - 0s
[TRACE] 14:42:54.609 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[DEBUG] 14:42:54.610 properties.go:GetString:28 → environment
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[DEBUG] 14:42:54.610 properties.go:GetString:28 → {{ .Code }}
[DEBUG] 14:42:54.610 shell.go:Pwd:422 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Git
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Status
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:StatusCodes() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 14:42:54.610 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Session
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.610 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Python
[DEBUG] 14:42:54.610 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.610 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Os
[TRACE] 14:42:54.610 shell_windows.go:Root() - 0s
[TRACE] 14:42:54.610 shell_windows.go:Root() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:Shell() - 0s
[TRACE] 14:42:54.610 shell.go:StatusCodes() - 0s
[DEBUG] 14:42:54.610 properties.go:GetString:28 → 
[TRACE] 14:42:54.610 shell_windows.go:IsWsl() - 0s
[DEBUG] 14:42:54.610 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv env venv-win pyenv-win]
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → home_enabled: true
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Node
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → fetch_virtual_env: true
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 14:42:54.610 properties.go:GetStringArray:52 → folders: []
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Battery
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 14:42:54.610 shell.go:TemplateCache:813 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\ChongZhiJie\AppData\Roaming CLINK_DIR=C:\Program Files (x86)\clink CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=CHONGZHIJIE-I5 ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\ChongZhiJie INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-18.0.2.101-hotspot\ LOCALAPPDATA=C:\Users\ChongZhiJie\AppData\Local LOGONSERVER=\\CHONGZHIJIE-I5 MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic NDI_RUNTIME_DIR_V2=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V3=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V4=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V5=C:\Program Files\NDI\NDI 5 Runtime\v5 NUMBER_OF_PROCESSORS=12 OneDrive=C:\Users\ChongZhiJie\OneDrive OneDriveConsumer=C:\Users\ChongZhiJie\OneDrive OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files\Python311\Scripts\;C:\Program Files\Python311\;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Eclipse Adoptium\jdk-19.0.2.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-18.0.2.101-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin;C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-11.0.19.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.372.7-hotspot\bin;C:\Ruby31-x64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\gsudo\Current;C:\Program Files\WireGuard\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Cloudflare\Cloudflare WARP\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\PowerShell\7\;C:\Program Files\Git\cmd;C:\Users\ChongZhiJie\AppData\Local\Microsoft\WindowsApps;C:\Users\ChongZhiJie\AppData\Roaming\npm;C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\bin;C:\Users\ChongZhiJie\.dotnet\tools PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW;.PY;.PYW;.CPL POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=3 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=8876 POSH_SHELL_VERSION=7.3.7 POSH_THEME=C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\themes\custom-themes\blueish.omp.json POSH_THEMES_PATH=C:\Users\ChongZhiJie\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 165 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=a505 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=E:\00-Windows Data\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\CHONGZ~1\AppData\Local\Temp TMP=C:\Users\CHONGZ~1\AppData\Local\Temp USERDOMAIN=CHONGZHIJIE-I5 USERDOMAIN_ROAMINGPROFILE=CHONGZHIJIE-I5 USERNAME=ChongZhiJie USERPROFILE=C:\Users\ChongZhiJie windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=57ebe11f-1f91-4816-bedc-2f69dc7907cf]
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:Shell() - 0s
[TRACE] 14:42:54.610 shell_windows.go:IsWsl() - 0s
[TRACE] 14:42:54.610 shell.go:Flags() - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 shell.go:User:543 → ChongZhiJie
[TRACE] 14:42:54.610 shell.go:User() - 0s
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 14:42:54.610 segment.go:SetEnabled:497 → Segment: Kubectl
[DEBUG] 14:42:54.610 properties.go:GetString:28 → 
[DEBUG] 14:42:54.610 properties.go:GetString:28 → 
[DEBUG] 14:42:54.610 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → parse_kubeconfig: false
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.610 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:Getenv(SHLVL) - 0s
[DEBUG] 14:42:54.610 properties.go:GetString:28 → ~
[TRACE] 14:42:54.610 shell.go:TemplateCache() - 0s
[DEBUG] 14:42:54.610 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:TemplateCache() - 0s
[TRACE] 14:42:54.610 shell.go:TemplateCache() - 0s
[DEBUG] 14:42:54.610 properties.go:GetBool:22 → always_enabled: true
[TRACE] 14:42:54.610 shell.go:TemplateCache() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:GOOS() - 0s
[TRACE] 14:42:54.610 shell.go:PathSeparator() - 0s
[TRACE] 14:42:54.610 shell.go:Pwd() - 0s
[TRACE] 14:42:54.610 shell_windows.go:IsWsl() - 0s
[TRACE] 14:42:54.610 shell.go:StackCount() - 0s
[DEBUG] 14:42:54.611 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 14:42:54.611 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 14:42:54.611 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 14:42:54.611 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 14:42:54.611 shell_windows.go:DirIsWritable() - 954.3µs
[TRACE] 14:42:54.611 shell.go:TemplateCache() - 0s
[DEBUG] 14:42:54.612 shell.go:CommandPath:594 → C:\Program Files\Python311\python.exe
[TRACE] 14:42:54.612 shell.go:CommandPath(python) - 2.4638ms
[ERROR] 14:42:54.612 shell_windows_nix.go:BatteryState:15 → no battery
[TRACE] 14:42:54.612 shell_windows_nix.go:BatteryState() - 2.4638ms
[DEBUG] 14:42:54.612 shell.go:HasFilesInDir:458 → false
[TRACE] 14:42:54.612 shell.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 14:42:54.613 shell.go:HasFilesInDir:458 → false
[TRACE] 14:42:54.613 shell.go:HasFilesInDir(pyvenv.cfg) - 999.9µs
[DEBUG] 14:42:54.613 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.613 shell.go:Getenv(VIRTUAL_ENV) - 0s
[DEBUG] 14:42:54.613 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.613 shell.go:Getenv(CONDA_ENV_PATH) - 0s
[DEBUG] 14:42:54.613 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.613 shell.go:Getenv(CONDA_DEFAULT_ENV) - 0s
[DEBUG] 14:42:54.634 shell.go:CommandPath:594 → C:\Program Files\Git\cmd\git.exe
[TRACE] 14:42:54.634 shell.go:CommandPath(git.exe) - 23.7549ms
[TRACE] 14:42:54.634 shell.go:HasCommand(git.exe) - 23.7549ms
[TRACE] 14:42:54.634 shell.go:Pwd() - 0s
[ERROR] 14:42:54.634 shell.go:HasParentFilePath:728 → CreateFile .git: The system cannot find the file specified.
[TRACE] 14:42:54.634 shell.go:HasParentFilePath(.git) - 525.3µs
[DEBUG] 14:42:54.634 properties.go:GetBool:22 → fetch_bare_info: false
[ERROR] 14:42:54.636 shell.go:CommandPath:597 → exec: "kubectl": executable file not found in %PATH%
[TRACE] 14:42:54.636 shell.go:CommandPath(kubectl) - 26.3801ms
[TRACE] 14:42:54.636 shell.go:HasCommand(kubectl) - 26.3801ms
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}} 
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template:  {{ .UserName }}@{{ .HostName }}
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template:   {{ .Path }}
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template:  
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:TemplateCache() - 0s
[TRACE] 14:42:54.637 shell.go:TemplateCache() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:TemplateCache() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: diamond
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#f1184c{{ end }}
[TRACE] 14:42:54.637 shell.go:TemplateCache() - 0s
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: diamond
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: powerline
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Flags() - 0s
[TRACE] 14:42:54.637 shell.go:Pwd() - 0s
[DEBUG] 14:42:54.637 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 14:42:54.637 shell.go:GOOS() - 0s
[DEBUG] 14:42:54.637 segment.go:SetEnabled:497 → Segment: Text
[TRACE] 14:42:54.637 shell.go:TemplateCache() - 0s
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: ➜
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[DEBUG] 14:42:54.637 shell.go:Getenv:392 → NO DATA
[TRACE] 14:42:54.637 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 14:42:54.637 text.go:Render:70 → Rendering template: plain
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[TRACE] 14:42:54.637 shell.go:Shell() - 0s
[DEBUG] 14:42:54.637 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local
[TRACE] 14:42:54.637 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 14:42:54.637 shell_windows.go:CachePath() - 0s
[TRACE] 14:42:54.637 shell.go:Flags() - 0s
JanDeDobbeleer commented 1 year ago

@ChongZhiJie0216 you'll need to provide the correct debug statement as the one you added uses the local file:

oh-my-posh debug --shell pwsh --config "https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json" --plain
ChongZhiJie0216 commented 1 year ago

OK This is my correct debug statement

Version: 18.10.1

Shell: pwsh

Prompt:

 ChongZhiJie   ~                                                                             in pwsh at 15:00:40
Segments:

ConsoleTitle(true)                        -   0 ms
Session(true)                             -   0 ms
Path(true)                                -   0 ms
Git(false)                                -  20 ms
Root(false)                               -   0 ms
Exit(true)                                -   0 ms
Node(false)                               -   0 ms
Go(false)                                 -   0 ms
Python(false)                             -   0 ms
Shell(true)                               -   0 ms
Time(true)                                -   0 ms

Run duration: 5.0273429s

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

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

Logs:

[DEBUG] 15:00:35.171 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:35.171 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 15:00:35.171 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local
[TRACE] 15:00:35.171 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:00:35.172 shell_windows.go:CachePath() - 523.8µs
[DEBUG] 15:00:35.175 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local
[TRACE] 15:00:35.175 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:00:35.176 shell_windows.go:CachePath() - 521.5µs
[DEBUG] 15:00:35.176 shell.go:HTTPRequest:684 ↓
    GET /ChongZhiJie0216/Env-Terminal/main/blueish.omp.json HTTP/1.1
    Host: raw.githubusercontent.com
    User-Agent: Go-http-client/1.1
    Accept-Encoding: gzip

[ERROR] 15:00:40.177 shell.go:HTTPRequest:688 → Get "https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json": context deadline exceeded
[TRACE] 15:00:40.177 shell.go:HTTPRequest(https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json) - 5.0013482s
[TRACE] 15:00:40.177 shell.go:downloadConfig(https://raw.githubusercontent.com/ChongZhiJie0216/Env-Terminal/main/blueish.omp.json) - 5.0018697s
[ERROR] 15:00:40.177 shell.go:resolveConfigPath:324 → context deadline exceeded
[TRACE] 15:00:40.177 shell.go:resolveConfigPath() - 5.0018697s
[TRACE] 15:00:40.177 shell.go:Init() - 5.0056108s
[TRACE] 15:00:40.177 shell.go:Flags() - 0s
[DEBUG] 15:00:40.177 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 15:00:40.177 config.go:loadConfig() - 0s
[TRACE] 15:00:40.177 shell.go:Flags() - 0s
[DEBUG] 15:00:40.177 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.177 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 15:00:40.177 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[TRACE] 15:00:40.177 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.177 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC4261E5E
[TRACE] 15:00:40.177 shell.go:Shell() - 0s
[DEBUG] 15:00:40.177 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.177 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 15:00:40.177 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 15:00:40.177 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 15:00:40.177 shell_windows.go:Root() - 0s
[TRACE] 15:00:40.177 shell.go:Shell() - 0s
[TRACE] 15:00:40.178 shell.go:StatusCodes() - 0s
[TRACE] 15:00:40.178 shell_windows.go:IsWsl() - 0s
[DEBUG] 15:00:40.178 shell.go:TemplateCache:813 → environment: [ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\ChongZhiJie\AppData\Roaming CLINK_DIR=C:\Program Files (x86)\clink CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=CHONGZHIJIE-I5 ComSpec=C:\Windows\system32\cmd.exe DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\ChongZhiJie INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\ JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-18.0.2.101-hotspot\ LOCALAPPDATA=C:\Users\ChongZhiJie\AppData\Local LOGONSERVER=\\CHONGZHIJIE-I5 MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic NDI_RUNTIME_DIR_V2=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V3=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V4=C:\Program Files\NDI\NDI 5 Runtime\v5 NDI_RUNTIME_DIR_V5=C:\Program Files\NDI\NDI 5 Runtime\v5 NUMBER_OF_PROCESSORS=12 OneDrive=C:\Users\ChongZhiJie\OneDrive OneDriveConsumer=C:\Users\ChongZhiJie\OneDrive OS=Windows_NT Path=C:\Program Files\PowerShell\7;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files\Python311\Scripts\;C:\Program Files\Python311\;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Program Files\Eclipse Adoptium\jdk-19.0.2.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-18.0.2.101-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-17.0.7.7-hotspot\bin;C:\Program Files\Eclipse Foundation\jdk-16.0.2.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-11.0.19.7-hotspot\bin;C:\Program Files\Eclipse Adoptium\jdk-8.0.372.7-hotspot\bin;C:\Ruby31-x64\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\dotnet\;C:\Program Files\nodejs\;C:\Program Files\gsudo\Current;C:\Program Files\WireGuard\;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Cloudflare\Cloudflare WARP\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\Program Files\PowerShell\7\;C:\Program Files\Git\cmd;C:\Users\ChongZhiJie\AppData\Local\Microsoft\WindowsApps;C:\Users\ChongZhiJie\AppData\Roaming\npm;C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\bin;C:\Users\ChongZhiJie\.dotnet\tools PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.RB;.RBW;.PY;.PYW;.CPL POSH_INSTALLER=winget POSH_THEMES_PATH=C:\Users\ChongZhiJie\AppData\Local\Programs\oh-my-posh\themes POWERSHELL_DISTRIBUTION_CHANNEL=MSI:Windows 10 Pro PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 5, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=a505 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=E:\00-Windows Data\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\CHONGZ~1\AppData\Local\Temp TMP=C:\Users\CHONGZ~1\AppData\Local\Temp USERDOMAIN=CHONGZHIJIE-I5 USERDOMAIN_ROAMINGPROFILE=CHONGZHIJIE-I5 USERNAME=ChongZhiJie USERPROFILE=C:\Users\ChongZhiJie windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={574e775e-4f2a-5b96-ac1e-a2962a402336} WT_SESSION=beec749e-c4f3-4075-ae5e-4ac7cb83c410]
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 shell.go:Pwd:422 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 shell.go:User:543 → ChongZhiJie
[TRACE] 15:00:40.178 shell.go:User() - 0s
[DEBUG] 15:00:40.178 shell.go:Host:555 → ChongZhiJie-i5
[TRACE] 15:00:40.178 shell.go:Host() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.178 shell.go:Getenv(SHLVL) - 0s
[TRACE] 15:00:40.178 shell.go:TemplateCache() - 540.2µs
[DEBUG] 15:00:40.178 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.178 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 15:00:40.178 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.178 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:Shell() - 0s
[TRACE] 15:00:40.178 shell.go:Shell() - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[DEBUG] 15:00:40.178 properties.go:GetString:28 → {{ .Code }}
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 segment.go:SetEnabled:497 → Segment: Exit
[TRACE] 15:00:40.178 shell.go:StatusCodes() - 0s
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.178 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 segment.go:SetEnabled:497 → Segment: Path
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[TRACE] 15:00:40.178 shell.go:Shell() - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 segment.go:SetEnabled:497 → Segment: Git
[DEBUG] 15:00:40.178 properties.go:GetBool:22 → mapped_locations_enabled: true
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 properties.go:GetString:28 → 
[DEBUG] 15:00:40.178 properties.go:GetString:28 → 
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[DEBUG] 15:00:40.178 properties.go:GetString:28 → ~
[DEBUG] 15:00:40.178 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 segment.go:SetEnabled:497 → Segment: Session
[DEBUG] 15:00:40.178 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.178 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 15:00:40.178 shell.go:Getenv:392 → NO DATA
[TRACE] 15:00:40.178 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 15:00:40.178 shell.go:Flags() - 0s
[TRACE] 15:00:40.178 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[DEBUG] 15:00:40.178 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.178 segment.go:SetEnabled:497 → Segment: Root
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:GOOS() - 0s
[TRACE] 15:00:40.178 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.178 shell.go:PathSeparator() - 0s
[TRACE] 15:00:40.178 shell.go:Pwd() - 0s
[TRACE] 15:00:40.178 shell_windows.go:IsWsl() - 0s
[TRACE] 15:00:40.178 shell_windows.go:Root() - 0s
[TRACE] 15:00:40.178 shell.go:StackCount() - 0s
[DEBUG] 15:00:40.178 properties.go:GetBool:22 → always_enabled: true
[TRACE] 15:00:40.178 shell.go:TemplateCache() - 0s
[DEBUG] 15:00:40.178 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 15:00:40.178 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 15:00:40.178 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 15:00:40.178 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 15:00:40.178 shell_windows.go:DirIsWritable() - 0s
[TRACE] 15:00:40.178 shell.go:TemplateCache() - 0s
[DEBUG] 15:00:40.197 shell.go:CommandPath:594 → C:\Program Files\Git\cmd\git.exe
[TRACE] 15:00:40.197 shell.go:CommandPath(git.exe) - 19.0238ms
[TRACE] 15:00:40.197 shell.go:HasCommand(git.exe) - 19.0238ms
[TRACE] 15:00:40.197 shell.go:Pwd() - 0s
[ERROR] 15:00:40.198 shell.go:HasParentFilePath:728 → CreateFile .git: The system cannot find the file specified.
[TRACE] 15:00:40.198 shell.go:HasParentFilePath(.git) - 1.1608ms
[DEBUG] 15:00:40.198 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 15:00:40.198 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 15:00:40.198 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[DEBUG] 15:00:40.198 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[TRACE] 15:00:40.198 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.198 shell.go:Shell() - 0s
[TRACE] 15:00:40.198 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.198 shell.go:Shell() - 0s
[TRACE] 15:00:40.198 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.198 shell.go:Shell() - 0s
[DEBUG] 15:00:40.198 text.go:Render:70 → Rendering template: diamond
[DEBUG] 15:00:40.198 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: powerline
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 15:00:40.199 shell.go:TemplateCache() - 0s
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: diamond
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.199 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.199 segment.go:SetEnabled:497 → Segment: Time
[DEBUG] 15:00:40.199 properties.go:GetString:28 → 15:04:05
[TRACE] 15:00:40.199 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.199 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.199 segment.go:SetEnabled:497 → Segment: Node
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 15:00:40.199 properties.go:GetString:28 → files
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → folders: []
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 properties.go:GetBool:22 → home_enabled: false
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[TRACE] 15:00:40.199 shell.go:GOOS() - 0s
[DEBUG] 15:00:40.199 segment.go:SetEnabled:497 → Segment: Shell
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 15:00:40.199 shell.go:GOOS() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[DEBUG] 15:00:40.199 segment.go:SetEnabled:497 → Segment: Python
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → folders: []
[DEBUG] 15:00:40.199 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv env venv-win pyenv-win]
[DEBUG] 15:00:40.199 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 15:00:40.199 properties.go:GetBool:22 → home_enabled: false
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[TRACE] 15:00:40.199 shell.go:Pwd() - 0s
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 15:00:40.199 shell_windows.go:56 → C:\Users\ChongZhiJie
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[TRACE] 15:00:40.199 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:TemplateCache() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: plain
[DEBUG] 15:00:40.199 text.go:Render:70 → Rendering template: plain
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:Flags() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[TRACE] 15:00:40.199 shell.go:Shell() - 0s
[DEBUG] 15:00:40.199 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 15:00:40.199 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 15:00:40.199 shell.go:Getenv:392 → C:\Users\ChongZhiJie\AppData\Local
[TRACE] 15:00:40.199 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 15:00:40.200 shell_windows.go:CachePath() - 998.8µs
[TRACE] 15:00:40.200 shell.go:Flags() - 0s