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

There is something wrong with Root segment #4773

Closed MMMMMoris closed 6 months ago

MMMMMoris commented 7 months ago

Code of Conduct

What happened?

A bug happened! image There is an unexpected space in the root segment. Here is the configuration

{
    "background": "#a313a8",
    "foreground": "#FFEB3B",
    "leading_diamond": "<transparent,#a313a8>\ue0b0</>",
    "trailing_diamond": "\uE0B0",
    "style": "diamond",
    "template": " \u26A1",
    "type": "root"
},

After some investigation, I found that it is probably caused by wrong solution to unicode character \u26A1

Theme

Self created theme

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Session(true)                              -   0 ms
Root(true)                                 -   0 ms
Git(false)                                 -  86 ms
Executiontime(true)                        -   0 ms
Status(false)                              -   1 ms
Sysinfo(true)                              -   0 ms
Angular(false)                             -   0 ms
Aws(false)                                 -   0 ms
Az(false)                                  -   1 ms
Azfunc(false)                              -   0 ms
Cds(false)                                 -   0 ms
Crystal(false)                             -   0 ms
Cf(false)                                  -   0 ms
Cftarget(false)                            - 155 ms
Cmake(false)                               -   0 ms
Dart(false)                                -   0 ms
Dotnet(false)                              -   1 ms
Flutter(false)                             -   0 ms
Go(false)                                  -   0 ms
Haskell(false)                             -   0 ms
Java(false)                                -   0 ms
Julia(false)                               -   0 ms
Kotlin(false)                              -   0 ms
Kubectl(false)                             - 202 ms
Lua(false)                                 -   0 ms
Node(false)                                -   1 ms
Nx(false)                                  -   1 ms
Perl(false)                                -   0 ms
Php(false)                                 -   0 ms
Python(false)                              - 141 ms
R(false)                                   -   0 ms
Ruby(false)                                -   1 ms
Rust(false)                                -   0 ms
Swift(false)                               -   0 ms
Time(true)                                 -   0 ms
Path(true)                                 -   2 ms
Spotify(true)                              -  14 ms
Text(true)                                 -   0 ms
Text(true)                                 -   0 ms

Run duration: 338.2294ms

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

Config path: C:\Users\Admin\Data\files\resources\PowerShell\themes\Free\Free.omp.json

Logs:

[DEBUG] 22:03:52.668 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.668 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:03:52.668 shell.go:Getenv:392 → C:\Users\Admin\AppData\Local
[TRACE] 22:03:52.668 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:03:52.668 shell_windows.go:CachePath() - 0s
[DEBUG] 22:03:52.668 shell.go:Getenv:392 → C:\Users\Admin\Data\files\resources\PowerShell\themes\Free\Free.omp.json
[TRACE] 22:03:52.668 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 22:03:52.668 shell.go:Shell:646 → no shell name provided in flags, trying to detect it
[DEBUG] 22:03:52.685 shell.go:Shell:654 → process name: pwsh.exe
[TRACE] 22:03:52.685 shell.go:Shell() - 16.9173ms
[TRACE] 22:03:52.685 shell.go:resolveConfigPath() - 16.9173ms
[TRACE] 22:03:52.685 shell.go:Init() - 17.5249ms
[TRACE] 22:03:52.685 shell.go:Flags() - 0s
[TRACE] 22:03:52.691 config.go:loadConfig() - 5.3114ms
[TRACE] 22:03:52.691 shell.go:Flags() - 0s
[DEBUG] 22:03:52.691 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.691 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 22:03:52.691 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[TRACE] 22:03:52.691 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.692 shell_windows.go:WindowsRegistryKeyValue:215 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 22:03:52.692 shell.go:Shell() - 0s
[DEBUG] 22:03:52.692 shell.go:Getenv:392 → 7.4.1
[TRACE] 22:03:52.692 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 22:03:52.692 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 22:03:52.692 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 22:03:52.692 shell_windows.go:Root() - 136.5µs
[TRACE] 22:03:52.692 shell.go:Shell() - 0s
[TRACE] 22:03:52.692 shell.go:StatusCodes() - 0s
[TRACE] 22:03:52.692 shell_windows.go:IsWsl() - 0s 
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.692 shell.go:Pwd:422 → C:\Users\Admin
[TRACE] 22:03:52.692 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.692 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.692 shell.go:User:557 → Admin
[TRACE] 22:03:52.692 shell.go:User() - 0s
[DEBUG] 22:03:52.692 shell.go:Host:569 → Cohii
[TRACE] 22:03:52.692 shell.go:Host() - 0s
[TRACE] 22:03:52.692 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.692 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.692 shell.go:Getenv(SHLVL) - 0s
[TRACE] 22:03:52.692 shell.go:TemplateCache() - 267.3µs
[DEBUG] 22:03:52.692 shell.go:Getenv:392 → 12
[TRACE] 22:03:52.692 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 22:03:52.692 shell.go:Getenv:392 → 1
[TRACE] 22:03:52.692 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 22:03:52.692 shell.go:Flags() - 0s
[TRACE] 22:03:52.692 shell.go:Flags() - 0s
[TRACE] 22:03:52.692 shell.go:Shell() - 0s
[TRACE] 22:03:52.692 shell.go:Shell() - 0s
[TRACE] 22:03:52.692 shell.go:Flags() - 0s
[TRACE] 22:03:52.692 shell.go:Flags() - 0s
[TRACE] 22:03:52.692 shell.go:Flags() - 0s
[TRACE] 22:03:52.693 shell.go:Flags() - 0s
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.693 shell.go:Flags() - 0s
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 properties.go:GetString:28 → {{ .Code }}
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Os
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Git
[TRACE] 22:03:52.693 shell.go:StatusCodes() - 0s
[DEBUG] 22:03:52.693 properties.go:GetString:28 → 
[DEBUG] 22:03:52.693 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 22:03:52.693 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Root
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.693 shell.go:Flags() - 0s
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Executiontime
[TRACE] 22:03:52.693 shell.go:Pwd() - 0s
[TRACE] 22:03:52.693 shell_windows.go:Root() - 0s
[DEBUG] 22:03:52.693 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.693 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.693 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.693 segment.go:SetEnabled:512 → Segment: Session
[DEBUG] 22:03:52.693 properties.go:GetBool:22 → always_enabled: false
[TRACE] 22:03:52.693 shell.go:ExecutionTime() - 0s
[DEBUG] 22:03:52.693 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.693 shell.go:Getenv(SSH_CONNECTION) - 0s
[DEBUG] 22:03:52.693 properties.go:GetFloat64:34 → threshold: 0.000000
[DEBUG] 22:03:52.693 shell.go:Getenv:392 → NO DATA
[DEBUG] 22:03:52.693 properties.go:GetString:28 → roundrock
[TRACE] 22:03:52.693 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.693 shell.go:Getenv(SSH_CLIENT) - 0s
[TRACE] 22:03:52.693 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.694 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:52.694 properties.go:GetBool:22 → always_enabled: false
[DEBUG] 22:03:52.779 shell.go:CommandPath:608 → C:\Users\Admin\Data\programs\git\bin\git.exe
[TRACE] 22:03:52.779 shell.go:CommandPath(git.exe) - 85.4022ms
[TRACE] 22:03:52.779 shell.go:HasCommand(git.exe) - 85.5375ms
[TRACE] 22:03:52.779 shell.go:Pwd() - 0s
[ERROR] 22:03:52.779 shell.go:HasParentFilePath:742 → CreateFile .git: The system cannot find the file specified.
[TRACE] 22:03:52.779 shell.go:HasParentFilePath(.git) - 588.9µs
[DEBUG] 22:03:52.779 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 22:03:52.779 text.go:Render:70 → Rendering template:  {{ if .SSHSession }}{{ end }}{{ .UserName }}@{{ .HostName }}
[DEBUG] 22:03:52.779 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}
[DEBUG] 22:03:52.779 text.go:Render:70 → Rendering template:   {{ .FormattedMs }}
[DEBUG] 22:03:52.779 text.go:Render:70 → Rendering template:  ⚡
[TRACE] 22:03:52.779 shell.go:Shell() - 0s
[TRACE] 22:03:52.782 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.782 shell.go:Shell() - 0s
[TRACE] 22:03:52.782 shell.go:Shell() - 0s
[TRACE] 22:03:52.783 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.783 shell.go:Shell() - 0s
[DEBUG] 22:03:52.783 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.783 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: powerline
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.783 text.go:Render:70 → Rendering template: powerline
[TRACE] 22:03:52.783 shell.go:Shell() - 0s
[TRACE] 22:03:52.783 shell.go:Shell() - 0s
[TRACE] 22:03:52.783 shell.go:Shell() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 properties.go:GetInt:40 → precision: 2
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Cftarget
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Flutter
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Julia
[DEBUG] 22:03:52.783 properties.go:GetString:28 → 2006 Jan 02 Mon 15:04:05
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 22:03:52.783 properties.go:GetString:28 → never
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Haskell
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.hs *.lhs stack.yaml package.yaml *.cabal cabal.project]
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Kotlin
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.kt *.kts *.ktm]
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.783 shell.go:Getenv:392 → C:\Users\Admin\.dev\jdk\jdk-11.0.18+10
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Getenv(JAVA_HOME) - 0s
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Cmake
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.cmake CMakeLists.txt]
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Sysinfo
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Java
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Dart
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Php
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [pom.xml build.gradle.kts build.sbt .java-version .deps.edn project.clj build.boot *.java *.class *.gradle *.jar *.clj *.cljc]
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.php composer.json composer.lock .php-version blade.php]
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: [.dart_tool]
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 segment.go:SetEnabled:512 → Segment: Dotnet
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 22:03:52.783 shell.gindows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.783 shell.go:Flags() - 0s
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 properties.go:GetBool:22 → home_enabled: true
[TRACE] 22:03:52.783 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.783 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Node
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Swift
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → extensions: [*.swift *.SWIFT]
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Azfunc
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.783 properties.go:GetStringArray:52 → extensions: [workspace.json nx.json]
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Az
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 properties.go:GetString:28 → first_match
[TRACE] 22:03:52.785 shell.go:Flags() - 0s
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 22:03:52.785 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[TRACE] 22:03:52.785 shell.go:Getenv(AZURE_CONFIG_DIR) - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:Flags() - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:Flags() - 0s
[DEBUG] 22:03:52.785 properties.go:GetString:28 → files
[DEBUG] 22:03:52.785 properties.go:GetString:28 → context
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[TRACE] 22:03:52.785 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Cf
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Cds
[DEBUG] 22:03:52.785 segment.go:SetEnabled:512 → Segment: Crystal
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → extensions: [manifest.yml mta.yaml]
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → extensions: [[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.785 properties.go:GetStringArray:52 → folders: []
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 properties.go:GetBool:22 → home_enabled: false
[TRACE] 22:03:52.785 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.785 shell_windows.go:56 → C:\Users\Admin
[DEBUG] 22:03:52.785 shell.go:HasFilesInDir:472 → false
[TRACE] 22:03:52.785 shell.go:HasFilesInDir(azureProfile.json) - 550.2µs
[DEBUG] 22:03:52.786 shell.go:HasFilesInDir:472 → false
[TRACE] 22:03:52.786 shell.go:HasFilesInDir(azureProfile.json) - 554.4µs
[DEBUG] 22:03:52.786 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.786 shell.go:Getenv(POSH_AZURE_SUBSCRIPTION) - 0s
[DEBUG] 22:03:52.924 shell.go:CommandPath:608 → C:\Users\Admin\AppData\Local\Microsoft\WindowsApps\python.exe
[TRACE] 22:03:52.924 shell.go:CommandPath(python) - 139.4266ms
[DEBUG] 22:03:52.924 shell.go:HasFilesInDir:472 → false
[TRACE] 22:03:52.924 shell.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 22:03:52.924 shell.go:HasFilesInDir:472 → false
[TRACE] 22:03:52.924 shell.go:HasFilesInDir(pyvenv.cfg) - 558.1µs
[DEBUG] 22:03:52.924 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.924 shell.go:Getenv(VIRTUAL_ENV) - 0s
[DEBUG] 22:03:52.924 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.924 shell.go:Getenv(CONDA_ENV_PATH) - 0s
[DEBUG] 22:03:52.924 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.924 shell.go:Getenv(CONDA_DEFAULT_ENV) - 0s
[ERROR] 22:03:52.938 shell.go:CommandPath:611 → exec: "cf": executable file not found in %PATH%
[TRACE] 22:03:52.938 shell.go:CommandPath(cf) - 155.3726ms
[TRACE] 22:03:52.938 shell.go:HasCommand(cf) - 155.3726ms
[ERROR] 22:03:52.986 shell.go:CommandPath:611 → exec: "kubectl": executable file not found in %PATH%
[TRACE] 22:03:52.986 shell.go:CommandPath(kubectl) - 202.3543ms
[TRACE] 22:03:52.986 shell.go:HasCommand(kubectl) - 202.3543ms
[DEBUG] 22:03:52.986 text.go:Render:70 → Rendering template:   {{ round .PhysicalPercentUsed .Precision }}
[DEBUG] 22:03:52.986 text.go:Render:70 → Rendering template:   {{ .CurrentDate | date .Format }}
[TRACE] 22:03:52.986 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.987 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[DEBUG] 22:03:52.987 text.go:Render:70 → Rendering template: diamond
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[DEBUG] 22:03:52.987 shell_windows.go:TerminalWidth:109 → terminal width: 120
[TRACE] 22:03:52.987 shell_windows.go:TerminalWidth() - 512µs
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[TRACE] 22:03:52.987 shell.go:Flags() - 0s
[TRACE] 22:03:52.987 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.987 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.987 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 22:03:52.987 shell.go:Pwd() - 0s
[TRACE] 22:03:52.987 shell.go:Shell() - 0s
[TRACE] 22:03:52.987 shell.go:Flags() - 0s
[DEBUG] 22:03:52.987 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 22:03:52.987 properties.go:GetString:28 → 
[DEBUG] 22:03:52.987 properties.go:GetString:28 → 
[DEBUG] 22:03:52.987 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.987 properties.go:GetString:28 → ~
[DEBUG] 22:03:52.987 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:GOOS() - 0s
[TRACE] 22:03:52.987 shell.go:PathSeparator() - 0s
[TRACE] 22:03:52.987 shell.go:Pwd() - 0s
[TRACE] 22:03:52.987 shell_windows.go:IsWsl() - 0s
[TRACE] 22:03:52.987 shell.go:StackCount() - 0s
[DEBUG] 22:03:52.989 win32_windows.go:isWriteable:299 → not current user or in group
[DEBUG] 22:03:52.989 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 22:03:52.989 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 22:03:52.989 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 22:03:52.989 shell_windows.go:DirIsWritable() - 2.3011ms
[TRACE] 22:03:52.989 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:52.989 text.go:Render:70 → Rendering template: │ {{ .Path }}
[TRACE] 22:03:52.990 shell.go:TemplateCache() - 0s
[TRACE] 22:03:52.990 shell.go:Shell() - 0s
[DEBUG] 22:03:52.990 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:52.990 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:03:52.990 text.go:Render:70 → Rendering template: diamond
[TRACE] 22:03:52.990 shell.go:Shell() - 0s
[TRACE] 22:03:52.990 shell.go:Shell() - 0s
[TRACE] 22:03:52.990 shell.go:Shell() - 0s
[TRACE] 22:03:52.990 shell.go:Flags() - 0s
[TRACE] 22:03:52.990 shell.go:Pwd() - 0s
[DEBUG] 22:03:52.990 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:52.990 shell.go:GOOS() - 0s
[DEBUG] 22:03:52.990 segment.go:SetEnabled:512 → Segment: Spotify
[TRACE] 22:03:53.005 shell_windows.go:QueryWindowTitles(^(Spotify.*)|(.*\s-\s.*)$) - 14.8039ms
[DEBUG] 22:03:53.005 properties.go:GetString:28 → 
[TRACE] 22:03:53.005 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:53.005 text.go:Render:70 → Rendering template:  {{ .Icon }}{{ if ne .Status "stopped" }}{{ .Artist }} ~ {{ .Track }}{{ end }}
[TRACE] 22:03:53.005 shell.go:TemplateCache() - 0s
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[DEBUG] 22:03:53.005 text.go:Render:70 → Rendering template: diamond
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[DEBUG] 22:03:53.005 shell_windows.go:TerminalWidth:92 → terminal width: 120
[TRACE] 22:03:53.005 shell_windows.go:TerminalWidth() - 0s
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[TRACE] 22:03:53.005 shell.go:Flags() - 0s
[TRACE] 22:03:53.005 shell.go:Pwd() - 0s
[DEBUG] 22:03:53.005 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:53.005 shell.go:GOOS() - 0s
[DEBUG] 22:03:53.005 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 22:03:53.005 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:53.005 text.go:Render:70 → Rendering template: <#FFFFFF>╰─🪐</> <#FFFFFF>❯</><#0077C2>❯</>
[TRACE] 22:03:53.005 shell.go:Shell() - 0s
[DEBUG] 22:03:53.005 shell.go:Getenv:392 → NO DATA
[TRACE] 22:03:53.005 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 22:03:53.005 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#FF5252{{ end }}
[TRACE] 22:03:53.006 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:53.006 text.go:Render:70 → Rendering template: plain
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[TRACE] 22:03:53.006 shell.go:Flags() - 0s
[TRACE] 22:03:53.006 shell.go:Pwd() - 0s
[DEBUG] 22:03:53.006 shell_windows.go:56 → C:\Users\Admin
[TRACE] 22:03:53.006 shell.go:GOOS() - 0s
[DEBUG] 22:03:53.006 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 22:03:53.006 shell.go:TemplateCache() - 0s
[DEBUG] 22:03:53.006 text.go:Render:70 → Rendering template: ─╯
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[DEBUG] 22:03:53.006 text.go:Render:70 → Rendering template: plain
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[TRACE] 22:03:53.006 shell.go:Flags() - 0s
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[TRACE] 22:03:53.006 shell.go:Shell() - 0s
[DEBUG] 22:03:53.006 shell_windows.go:TerminalWidth:92 → terminal width: 120
[TRACE] 22:03:53.006 shell_windows.go:TerminalWidth() - 0s
[DEBUG] 22:03:53.006 shell.go:Getenv:392 → C:\Users\Admin\AppData\Local
[TRACE] 22:03:53.006 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 22:03:53.006 shell_windows.go:CachePath() - 0s
[TRACE] 22:03:53.006 shell.go:Flags() - 0s
JanDeDobbeleer commented 6 months ago

This is a terminal issue, we do have a FAQ item about this.

github-actions[bot] commented 3 months ago

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