JanDeDobbeleer / oh-my-posh

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

Unable to load icon #4573

Closed MCheping8108 closed 6 months ago

MCheping8108 commented 6 months ago

Code of Conduct

What happened?

image

Theme

default

What OS are you seeing the problem on?

Microsoft Windows

Which shell are you using?

Windows PowerShell

Log output

Version: 19.3.0

Shell: powershell (5.1.22621.2506)

Prompt:

 liuyi   ~                                                                             in powershell at 22:29:04

Segments:

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

Run duration: 23.849ms

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

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

Logs:

[DEBUG] 22:29:04.908 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.908 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:29:04.908 shell.go:Getenv:399 → C:\Users\liuyi\AppData\Local
[TRACE] 22:29:04.908 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:29:04.908 shell_windows.go:CachePath() - 0s
[DEBUG] 22:29:04.909 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.909 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 22:29:04.909 shell.go:resolveConfigPath:319 → No config set, fallback to default config
[TRACE] 22:29:04.909 shell.go:resolveConfigPath() - 0s
[TRACE] 22:29:04.909 shell.go:Init() - 510µs
[TRACE] 22:29:04.909 shell.go:Flags() - 0s
[DEBUG] 22:29:04.909 config.go:loadConfig:129 → no config file specified, using default
[TRACE] 22:29:04.909 config.go:loadConfig() - 0s
[TRACE] 22:29:04.909 shell.go:Flags() - 0s
[DEBUG] 22:29:04.909 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.909 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 22:29:04.909 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[TRACE] 22:29:04.909 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.909 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[DEBUG] 22:29:04.909 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 22:29:04.913 shell.go:Shell:670 → process name: powershell.exe
[TRACE] 22:29:04.913 shell.go:Shell() - 4.0393ms
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → 5.1.22621.2506
[TRACE] 22:29:04.913 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 22:29:04.913 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 22:29:04.913 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 22:29:04.913 shell_windows.go:Root() - 0s
[TRACE] 22:29:04.913 shell.go:Shell() - 0s
[TRACE] 22:29:04.913 shell.go:StatusCodes() - 0s
[TRACE] 22:29:04.913 shell_windows.go:IsWsl() - 0s
[DEBUG] 22:29:04.913 shell.go:TemplateCache:843 → environment: [123pan=C:\Users\liuyi\AppData\Local\123pan\123pan.exe ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\liuyi\AppData\Roaming Aqua=C:\Program Files\JetBrains\Aqua 233.11555.14\bin; CLASSPATH=C:\Program Files\Java\jdk-1.8\lib\dt.jar;C:\Program Files\Java\jdk-1.8\lib\tools.jar 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=HEPING-PC ComSpec=C:\Windows\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DevEco Studio=C:\Program Files\Huawei\DevEco Studio\bin; DriverData=C:\Windows\System32\Drivers\DriverData HOMEDRIVE=C: HOMEPATH=\Users\liuyi IntelliJ IDEA Community Edition=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition\bin; JAVA_HOME=C:\Program Files\Java\jdk-1.8 LOCALAPPDATA=C:\Users\liuyi\AppData\Local LOGONSERVER=\\HEPING-PC NUMBER_OF_PROCESSORS=12 OneDrive=C:\Users\liuyi\OneDrive OneDriveConsumer=C:\Users\liuyi\OneDrive OS=Windows_NT Path=C:\Program Files\Java\zulu-21\bin\;C:\Program Files\Java\zulu-17\bin\;C:\Program Files\Java\jdk-1.8\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\VMware\VMware Workstation\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NetSarang\Xshell 7\;C:\Program Files (x86)\NetSarang\Xftp 7\;C:\Program Files\Mozilla Firefox\;C:\Program Files (x86)\ZeroTier\One\;C:\Program Files\dotnet\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files\GitHub CLI\;C:\Program Files\Docker\Docker\resources\bin;C:\Program Files (x86)\Vim\vim90;C:\Users\liuyi\AppData\Local\pnpm;C:\Users\liuyi\.cargo\bin;C:\Users\liuyi\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\liuyi\AppData\Local\Programs\Python\Python311\;C:\Users\liuyi\AppData\Local\Microsoft\WindowsApps;C:\Users\liuyi\AppData\Local\Programs\Microsoft VS Code\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2023.1\bin;C:\Users\liuyi\AppData\Local\JetBrains\Toolbox\scripts;C:\Users\liuyi\AppData\Roaming\npm;C:\Program Files\JetBrains\Aqua 233.11555.14\bin;;C:\Program Files\Huawei\DevEco Studio\bin;;;C:\Users\liuyi\AppData\Local\Programs\oh-my-posh\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PNPM_HOME=C:\Users\liuyi\AppData\Local\pnpm POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=30 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=14836 POSH_SHELL_VERSION=5.1.22621.2506 POSH_THEMES_PATH=C:\Users\liuyi\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 165 Stepping 2, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=a502 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\liuyi\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules PUBLIC=C:\Users\Public PyCharm Community Edition=C:\Program Files\JetBrains\PyCharm Community Edition 2023.1\bin; SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\Windows TEMP=C:\Users\liuyi\AppData\Local\Temp TMP=C:\Users\liuyi\AppData\Local\Temp USERDOMAIN=HEPING-PC USERDOMAIN_ROAMINGPROFILE=HEPING-PC USERNAME=liuyi USERPROFILE=C:\Users\liuyi VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\ windir=C:\Windows WSLENV=WT_SESSION:WT_PROFILE_ID: WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf} WT_SESSION=ec5a73d4-0002-485c-8cab-d8f47ac43258]
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 shell.go:Pwd:429 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 shell.go:User:564 → liuyi
[TRACE] 22:29:04.913 shell.go:User() - 0s
[DEBUG] 22:29:04.913 shell.go:Host:576 → heping-PC
[TRACE] 22:29:04.913 shell.go:Host() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.913 shell.go:Getenv(SHLVL) - 0s
[TRACE] 22:29:04.913 shell.go:TemplateCache() - 0s
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → 30
[TRACE] 22:29:04.913 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → 1
[TRACE] 22:29:04.913 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[TRACE] 22:29:04.913 shell.go:Shell() - 0s
[TRACE] 22:29:04.913 shell.go:Shell() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[DEBUG] 22:29:04.913 properties.go:GetString:28 → {{ .Code }}
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 segment.go:SetEnabled:512 → Segment: Status
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:StatusCodes() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 22:29:04.913 segment.go:SetEnabled:512 → Segment: Session
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.913 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 22:29:04.913 shell.go:Getenv:399 → NO DATA
[TRACE] 22:29:04.913 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 22:29:04.913 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 segment.go:SetEnabled:512 → Segment: Path
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[DEBUG] 22:29:04.913 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[TRACE] 22:29:04.913 shell.go:Shell() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:Pwd() - 0s
[TRACE] 22:29:04.913 shell.go:Flags() - 0s
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 22:29:04.913 shell_windows.go:Root() - 0s
[DEBUG] 22:29:04.913 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 22:29:04.913 properties.go:GetString:28 → 
[DEBUG] 22:29:04.913 properties.go:GetString:28 → 
[DEBUG] 22:29:04.913 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.913 properties.go:GetString:28 → ~
[DEBUG] 22:29:04.913 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 22:29:04.913 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:GOOS() - 0s
[TRACE] 22:29:04.913 shell.go:TemplateCache() - 0s
[DEBUG] 22:29:04.913 properties.go:GetBool:22 → always_enabled: true
[TRACE] 22:29:04.914 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.914 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:GOOS() - 0s
[TRACE] 22:29:04.914 shell.go:PathSeparator() - 0s
[TRACE] 22:29:04.914 shell.go:Pwd() - 0s
[TRACE] 22:29:04.914 shell_windows.go:IsWsl() - 0s
[TRACE] 22:29:04.914 shell.go:StackCount() - 0s
[DEBUG] 22:29:04.914 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:29:04.914 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 22:29:04.914 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 22:29:04.914 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 22:29:04.914 shell_windows.go:DirIsWritable() - 0s
[TRACE] 22:29:04.914 shell.go:TemplateCache() - 0s
[DEBUG] 22:29:04.930 shell.go:CommandPath:615 → C:\Program Files\Git\cmd\git.exe
[TRACE] 22:29:04.930 shell.go:CommandPath(git.exe) - 16.502ms
[TRACE] 22:29:04.930 shell.go:HasCommand(git.exe) - 16.502ms
[TRACE] 22:29:04.930 shell.go:Pwd() - 0s
[ERROR] 22:29:04.930 shell.go:HasParentFilePath:758 → CreateFile .git: The system cannot find the file specified.
[TRACE] 22:29:04.930 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 22:29:04.930 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template:  {{ if gt .Code 0 }}{{ else }}{{ end }}
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template:   {{ path .Path .Location }}
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}{{ .UserName }}
[TRACE] 22:29:04.930 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.930 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}p:red{{ end }}
[TRACE] 22:29:04.930 shell.go:TemplateCache() - 0s
[DEBUG] 22:29:04.930 text.go:Render:70 → Rendering template: diamond
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:Shell() - 0s
[TRACE] 22:29:04.930 shell.go:Flags() - 0s
[TRACE] 22:29:04.930 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.930 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.930 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.930 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 22:29:04.930 properties.go:GetString:28 → 15:04:05
[TRACE] 22:29:04.930 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.930 shell.go:Flags() - 0s
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[TRACE] 22:29:04.931 shell.go:Flags() - 0s
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.931 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.931 segment.go:SetEnabled:512 → Segment: Node
[DEBUG] 22:29:04.931 properties.go:GetString:28 → files
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[DEBUG] 22:29:04.931 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:29:04.931 shell.go:GOOS() - 0s
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.931 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 22:29:04.931 shell.go:Flags() - 0s
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.931 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.931 shell.go:Flags() - 0s
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.931 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.931 segment.go:SetEnabled:512 → Segment: Shell
[DEBUG] 22:29:04.931 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 22:29:04.931 shell.go:Shell() - 0s
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[TRACE] 22:29:04.931 shell.go:Flags() - 0s
[TRACE] 22:29:04.931 shell.go:TemplateCache() - 0s
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[TRACE] 22:29:04.931 shell.go:GOOS() - 0s
[DEBUG] 22:29:04.931 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 22:29:04.931 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:29:04.931 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:29:04.931 shell.go:Pwd() - 0s
[DEBUG] 22:29:04.931 shell_windows.go:56 → C:\Users\liuyi
[DEBUG] 22:29:04.931 text.go:Render:70 → Rendering template: at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>
[DEBUG] 22:29:04.931 text.go:Render:70 → Rendering template: in <p:blue><b>{{ .Name }}</b></>
[TRACE] 22:29:04.931 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.931 shell.go:Shell() - 0s
[TRACE] 22:29:04.931 shell.go:TemplateCache() - 0s
[TRACE] 22:29:04.932 shell.go:Shell() - 0s
[DEBUG] 22:29:04.932 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:29:04.932 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:29:04.932 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:29:04.932 text.go:Render:70 → Rendering template: plain
[DEBUG] 22:29:04.932 text.go:Render:70 → Rendering template: plain
[TRACE] 22:29:04.932 shell.go:Shell() - 0s
[TRACE] 22:29:04.932 shell.go:Shell() - 0s
[TRACE] 22:29:04.932 shell.go:Flags() - 0s
[TRACE] 22:29:04.932 shell.go:Shell() - 0s
[TRACE] 22:29:04.932 shell.go:Shell() - 0s
[DEBUG] 22:29:04.932 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 22:29:04.932 shell_windows.go:TerminalWidth() - 184µs
[DEBUG] 22:29:04.932 shell.go:Getenv:399 → C:\Users\liuyi\AppData\Local
[TRACE] 22:29:04.932 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:29:04.932 shell_windows.go:CachePath() - 0s
[TRACE] 22:29:04.932 shell.go:Flags() - 0s
JanDeDobbeleer commented 6 months ago

@MCheping8108 you need to follow the https://ohmyposh.dev/docs/installation/fonts on how to install and configure a nerd font correctly.

MCheping8108 commented 6 months ago

@MCheping8108 you need to follow the https:ohmyposh.dev/docs/installation/fonts on how to install and configure a nerd font correctly.

The icon has been loaded successfully. Thank you

github-actions[bot] commented 1 month 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.