Skip to content

Problem with cli font install #6257

Closed
Closed
@rneko26

Description

@rneko26

Code of Conduct

  • I agree to follow this project's Code of Conduct

What happened?

I tried to do install nerd fonts. But somehow it just return output:

Image

Weirdly, when i use my own build binary. It just works fine

Image

Theme

None.

What OS are you seeing the problem on?

Windows

Which shell are you using?

No response

Log output

Version: 25.3.0

Shell: powershell

Prompt:

 Hype   C:\                                                                            in powershell at 10:30:55
Segments:

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

Run duration: 32.5366ms

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

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

Logs:

[DEBUG] 10:30:55.010 debug.go:36 → debug mode enabled
[TRACE] 10:30:55.013 load.go:Path() - 0s
[DEBUG] 10:30:55.013 load.go:loadConfig:123 → no config file specified, using default
[TRACE] 10:30:55.013 load.go:loadConfig() - 505.2µs
[TRACE] 10:30:55.013 load.go:Load() - 505.2µs
[DEBUG] 10:30:55.014 terminal.go:Init:54 → plain mode enabled
[TRACE] 10:30:55.014 path.go:Path() - 0s
[DEBUG] 10:30:55.014 file.go:Init:26 → loading cache file: C:\Users\Hype\AppData\Local\oh-my-posh\omp.cache
[TRACE] 10:30:55.014 file.go:Init(C:\Users\Hype\AppData\Local\oh-my-posh\omp.cache) - 0s
[TRACE] 10:30:55.015 path.go:Path() - 1.0161ms
[DEBUG] 10:30:55.015 file.go:Init:26 → loading cache file: C:\Users\Hype\AppData\Local\oh-my-posh\omp.cache.15796
[TRACE] 10:30:55.015 file.go:Init(C:\Users\Hype\AppData\Local\oh-my-posh\omp.cache.15796) - 0s
[TRACE] 10:30:55.015 terminal.go:setPromptCount() - 0s
[TRACE] 10:30:55.015 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.015 terminal.go:setPwd:115 → C:\
[TRACE] 10:30:55.015 terminal.go:setPwd() - 0s
[TRACE] 10:30:55.015 terminal.go:Init() - 2.0408ms
[DEBUG] 10:30:55.017 terminal.go:Shell:368 → no shell name provided in flags, trying to detect it
[DEBUG] 10:30:55.021 terminal.go:Shell:379 → process name: powershell.exe
[TRACE] 10:30:55.021 terminal.go:Shell() - 4.7749ms
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[TRACE] 10:30:55.022 cache.go:restoreCache() - 0s
[TRACE] 10:30:55.022 terminal_windows.go:Root() - 0s
[TRACE] 10:30:55.022 terminal.go:Shell() - 0s
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[TRACE] 10:30:55.022 terminal.go:StatusCodes() - 0s
[TRACE] 10:30:55.022 terminal_windows.go:IsWsl() - 0s
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.022 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.022 terminal_windows.go:IsWsl() - 0s
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[TRACE] 10:30:55.022 terminal.go:Flags() - 0s
[TRACE] 10:30:55.022 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.022 terminal.go:User:249 → Hype
[TRACE] 10:30:55.022 terminal.go:User() - 0s
[DEBUG] 10:30:55.022 terminal.go:Host:266 → HYPE
[TRACE] 10:30:55.022 terminal.go:Host() - 0s
[TRACE] 10:30:55.022 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.022 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.022 terminal.go:Getenv(SHLVL) - 0s
[DEBUG] 10:30:55.023 writer.go:Init:105 → terminal program: Windows Terminal
[DEBUG] 10:30:55.023 writer.go:Init:106 → terminal shell: shell
[DEBUG] 10:30:55.023 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.023 terminal.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 10:30:55.023 terminal_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[DEBUG] 10:30:55.024 terminal_windows.go:WindowsRegistryKeyValue:198 → ColorizationColor(DWORD): 0xC46B69D6
[TRACE] 10:30:55.024 colors_windows.go:GetAccentColor() - 1.0848ms
[TRACE] 10:30:55.024 colors.go:SetAccentColor() - 1.0848ms
[TRACE] 10:30:55.024 terminal.go:Shell() - 0s
[DEBUG] 10:30:55.024 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.024 terminal.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 10:30:55.024 debug.go:PrintDebug:24 → segment: Title
[TRACE] 10:30:55.027 text.go:Render({{ .Shell }} in {{ .Folder }}) - 2.027ms
[TRACE] 10:30:55.027 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.027 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.027 terminal.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 10:30:55.027 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.027 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 10:30:55.027 terminal.go:Flags() - 0s
[TRACE] 10:30:55.027 terminal.go:Flags() - 0s
[TRACE] 10:30:55.027 terminal.go:Flags() - 0s
[TRACE] 10:30:55.028 terminal.go:Flags() - 0s
[TRACE] 10:30:55.028 terminal.go:Flags() - 0s
[TRACE] 10:30:55.028 terminal.go:Flags() - 0s
[TRACE] 10:30:55.028 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.029 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.029 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.029 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.029 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.029 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.029 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.029 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.029 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.029 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.029 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.029 segment.go:Execute:111 → segment: Session
[DEBUG] 10:30:55.029 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.029 segment.go:Execute:111 → segment: Root
[DEBUG] 10:30:55.029 segment.go:Execute:111 → segment: Status
[DEBUG] 10:30:55.029 segment.go:Execute:111 → segment: Path
[DEBUG] 10:30:55.029 segment.go:Execute:111 → segment: Git
[DEBUG] 10:30:55.029 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.029 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.029 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.029 segment.go:isToggled:224 → no toggles found
[TRACE] 10:30:55.029 terminal.go:StatusCodes() - 0s
[TRACE] 10:30:55.029 terminal.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 10:30:55.029 terminal.go:Getenv:77 → NO DATA
[TRACE] 10:30:55.029 terminal.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 10:30:55.029 terminal_windows.go:Root() - 0s
[TRACE] 10:30:55.031 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.031 properties.go:GetString:28 → status_template: {{ .Code }}
[DEBUG] 10:30:55.031 properties.go:GetBool:22 → display_cygpath: false
[TRACE] 10:30:55.031 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.031 separator.go:Separator() - 0s
[TRACE] 10:30:55.031 terminal.go:Shell() - 0s
[TRACE] 10:30:55.031 terminal.go:Shell() - 0s
[TRACE] 10:30:55.031 terminal.go:Flags() - 0s
[TRACE] 10:30:55.031 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.033 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 10:30:55.033 properties.go:GetString:28 → windows_registry_icon: 
[DEBUG] 10:30:55.033 properties.go:GetString:28 → windows_registry_icon: 
[DEBUG] 10:30:55.033 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.033 separator.go:Separator() - 0s
[TRACE] 10:30:55.033 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.033 properties.go:GetString:28 → home_icon: ~
[DEBUG] 10:30:55.034 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 10:30:55.034 separator.go:Separator() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.034 properties.go:GetString:28 → folder_separator_template:
[DEBUG] 10:30:55.034 properties.go:GetString:28 → folder_separator_icon: \
[DEBUG] 10:30:55.034 properties.go:GetStringArray:52 → cycle: []
[DEBUG] 10:30:55.034 properties.go:GetString:28 → folder_separator_template:
[DEBUG] 10:30:55.034 properties.go:GetString:28 → folder_separator_icon: \
[DEBUG] 10:30:55.034 properties.go:GetBool:22 → cycle_folder_separator: false
[DEBUG] 10:30:55.034 properties.go:GetString:28 → folder_format: %s
[DEBUG] 10:30:55.034 properties.go:GetString:28 → edge_format: %s
[DEBUG] 10:30:55.034 properties.go:GetString:28 → left_format: %s
[DEBUG] 10:30:55.034 properties.go:GetString:28 → right_format: %s
[TRACE] 10:30:55.034 terminal.go:Flags() - 0s
[TRACE] 10:30:55.034 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.034 terminal.go:StackCount() - 0s
[ERROR] 10:30:55.034 terminal.go:CommandPath:321 → exec: "git.exe": executable file not found in %PATH%
[TRACE] 10:30:55.034 terminal.go:CommandPath(git.exe) - 3.2067ms
[TRACE] 10:30:55.034 terminal.go:HasCommand(git.exe) - 3.2067ms
[DEBUG] 10:30:55.034 win32_windows.go:isWriteable:263 → current user is member of S-1-5-32-544
[DEBUG] 10:30:55.036 win32_windows.go:isWriteable:271 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 10:30:55.036 win32_windows.go:isWriteable:273 → user has write access
[TRACE] 10:30:55.036 terminal_windows.go:DirIsWritable() - 2.0438ms
[TRACE] 10:30:55.036 text.go:Render( {{ if .SSHSession }} {{ end }}{{ .UserName }} ) - 7.0832ms
[TRACE] 10:30:55.036 text.go:Render({{ .Code }}) - 5.7635ms
[DEBUG] 10:30:55.036 properties.go:GetBool:22 → always_enabled: true
[TRACE] 10:30:55.036 text.go:Render(diamond) - 0s
[TRACE] 10:30:55.038 text.go:Render(  {{ path .Path .Location }} ) - 1.7448ms
[TRACE] 10:30:55.038 text.go:Render(powerline) - 0s
[TRACE] 10:30:55.038 text.go:Render(powerline) - 0s
[TRACE] 10:30:55.038 text.go:Render(powerline) - 0s
[TRACE] 10:30:55.038 text.go:Render( {{ if gt .Code 0 }}{{ else }}{{ end }} ) - 196.1µs
[TRACE] 10:30:55.038 text.go:Render({{ if gt .Code 0 }}p:red{{ end }}) - 0s
[TRACE] 10:30:55.038 text.go:Render(diamond) - 0s
[TRACE] 10:30:55.038 text.go:Render({{ if gt .Code 0 }}p:red{{ end }}) - 0s
[TRACE] 10:30:55.038 terminal.go:Shell() - 0s
[TRACE] 10:30:55.038 terminal.go:Shell() - 0s
[TRACE] 10:30:55.038 terminal.go:Flags() - 0s
[TRACE] 10:30:55.038 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.038 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.038 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.038 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.038 segment.go:Execute:111 → segment: Node
[DEBUG] 10:30:55.038 segment.go:Execute:111 → segment: Time
[DEBUG] 10:30:55.038 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.038 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[TRACE] 10:30:55.038 terminal.go:GOOS() - 0s
[TRACE] 10:30:55.038 terminal.go:Flags() - 0s
[TRACE] 10:30:55.038 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.038 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.038 segment.go:Execute:111 → segment: Python
[DEBUG] 10:30:55.038 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[DEBUG] 10:30:55.038 segment.go:isToggled:224 → no toggles found
[TRACE] 10:30:55.038 terminal.go:Shell() - 0s
[TRACE] 10:30:55.038 terminal.go:Flags() - 0s
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.038 properties.go:GetString:28 → time_format: 15:04:05
[TRACE] 10:30:55.038 terminal.go:GOOS() - 0s
[DEBUG] 10:30:55.038 properties.go:GetString:28 → display_mode: files
[DEBUG] 10:30:55.038 segment.go:Execute:111 → segment: Go
[DEBUG] 10:30:55.038 segment.go:isToggled:224 → no toggles found
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → extensions: [*.go go.mod go.sum go.work go.work.sum]
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[DEBUG] 10:30:55.038 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 10:30:55.038 properties.go:GetStringArray:52 → folders: []
[DEBUG] 10:30:55.038 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:30:55.038 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.038 properties.go:GetString:28 → display_mode: files
[DEBUG] 10:30:55.038 home.go:12 → C:\Users\Hype
[DEBUG] 10:30:55.038 properties.go:GetString:28 → display_mode: files
[DEBUG] 10:30:55.038 properties.go:GetBool:22 → fetch_package_manager: false
[DEBUG] 10:30:55.038 properties.go:GetBool:22 → fetch_virtual_env: false
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(*.py) - 1.0155ms
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(*.go) - 1.0155ms
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(*.js) - 1.0155ms
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(*.ipynb) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(pyproject.toml) - 0s
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(go.mod) - 0s
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(*.ts) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(venv.bak) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(go.sum) - 0s
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(package.json) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(go.work) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(.nvmrc) - 0s
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(go.work.sum) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(pnpm-workspace.yaml) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(.pnpmfile.cjs) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFilesInDir:164 → false
[TRACE] 10:30:55.039 terminal.go:HasFilesInDir(.vue) - 0s
[TRACE] 10:30:55.039 text.go:Render(plain) - 0s
[TRACE] 10:30:55.039 text.go:Render(plain) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFolder:193 → false
[TRACE] 10:30:55.039 terminal.go:HasFolder(.venv) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFolder:193 → false
[TRACE] 10:30:55.039 terminal.go:HasFolder(venv) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFolder:193 → false
[TRACE] 10:30:55.039 terminal.go:HasFolder(virtualenv) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFolder:193 → false
[TRACE] 10:30:55.039 terminal.go:HasFolder(venv-win) - 0s
[DEBUG] 10:30:55.039 terminal.go:HasFolder:193 → false
[TRACE] 10:30:55.039 terminal.go:HasFolder(pyenv-win) - 0s
[TRACE] 10:30:55.039 text.go:Render(plain) - 0s
[TRACE] 10:30:55.039 text.go:Render(in <p:blue><b>{{ .Name }}</b></> ) - 0s
[TRACE] 10:30:55.039 text.go:Render(plain) - 0s
[TRACE] 10:30:55.040 text.go:Render(at <p:blue><b>{{ .CurrentDate | date "15:04:05" }}</b></>) - 1.0621ms
[TRACE] 10:30:55.040 text.go:Render(plain) - 0s
[TRACE] 10:30:55.040 terminal.go:Shell() - 0s
[TRACE] 10:30:55.040 terminal.go:Shell() - 0s
[TRACE] 10:30:55.040 terminal.go:Flags() - 0s
[TRACE] 10:30:55.040 terminal.go:Shell() - 0s
[DEBUG] 10:30:55.040 terminal_windows.go:TerminalWidth:99 → terminal width: 120
[TRACE] 10:30:55.040 terminal_windows.go:TerminalWidth() - 0s
[TRACE] 10:30:55.040 path.go:Path() - 0s
[TRACE] 10:30:55.040 terminal.go:Flags() - 0s

Metadata

Metadata

Labels

🐛 bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions