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

Valid line and error line shift the whole line to the left #4723

Closed totkeks closed 7 months ago

totkeks commented 7 months ago

Code of Conduct

What happened?

When the effect of error line triggers, e.g. when starting to type the word dotnet, the whole line is shifted to the left by one character, making the actual first letter appear at the end of the previous line. image

When clearing the error state, e.g. by removing the input, the valid line is also shifted to the left by one character. Additionally, there is also one character remaining of the previous input. In the screenshot below that is the d, which is only visible, but not part of the current line / input, because it is actually the empty string. image

The font I'm using is Cascadia Code NerdFont aka Caskaydia Cove and the default prompt works just fine with those lines. image

The error also appears in both Windows Terminal and the VSCode Terminal.

Theme

My own theme.

#:schema https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json

console_title_template = "{{ .Shell }} in {{ .Folder }}"
version                = 2.0

[palette]
   blue    = "#268BD2"
   cyan    = "#2AA198"
   green   = "#859900"
   magenta = "#D33682"
   orange  = "#CB4B16"
   red     = "#DC322F"
   violet  = "#6C71C4"
   yellow  = "#B58900"

   path-background  = "#FF9248"
   path-foreground  = "#2D3436"
   root-background  = "#EF5350"
   root-foreground  = "#FFFB38"
   shell-background = "#0077C2"
   shell-foreground = "#FFFFFF"

[[blocks]]
   alignment = "left"
   type      = "prompt"

   [[blocks.segments]]
      type = "shell"

      background      = "p:shell-background"
      foreground      = "p:shell-foreground"
      leading_diamond = "\u256D\u2500\uE0B6"
      style           = "diamond"
      template        = "{{ .Name }} "
      [blocks.segments.properties.mapped_shell_names]
         bash = "\uEBCA"
         pwsh = "\uEBC7"

   [[blocks.segments]]
      type = "root"

      background = "p:root-background"
      foreground = "p:root-foreground"
      style      = "diamond"
      template   = "<parentBackground>\uE0B0</> \uEAF2 "

   [[blocks.segments]]
      type = "path"

      background       = "p:path-background"
      foreground       = "p:path-foreground"
      powerline_symbol = "\uE0B0"
      style            = "powerline"
      template         = " {{ .Path }} "
      [blocks.segments.properties]
         folder_icon           = "\uF07B "
         folder_separator_icon = " \uE0B1 "
         home_icon             = "\U000F02DE"
         max_depth             = 2
         style                 = "agnoster_short"
         [blocks.segments.properties.mapped_locations]
            # TODO needs to use variables or be per host
            # "D:/Projects/GitHub" = "x"

   [[blocks.segments]]
      type = "git"

      background = "#FFFB38"
      background_templates = [
         "{{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB95{{ end }}",
         "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#C5E478{{ end }}",
         "{{ if gt .Ahead 0 }}#C792EA{{ end }}",
         "{{ if gt .Behind 0 }}#C792EA{{ end }}",
      ]
      foreground = "#011627"
      powerline_symbol = "\uE0B0"
      style = "powerline"
      template = " {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uF044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#EF5350> \uF046 {{ .Staging.String }}</>{{ end }} "
      [blocks.segments.properties]
         branch_icon         = "\uE725 "
         fetch_status        = true
         fetch_upstream_icon = true

   [[blocks.segments]]
      type = "executiontime"

      background       = "#83769C"
      foreground       = "#FFFFFF"
      style            = "diamond"
      template         = " \U000F051F {{ .FormattedMs }} "
      trailing_diamond = "\uE0B4"
      [blocks.segments.properties]
         always_enabled = true

[[blocks]]
   alignment = "right"
   type      = "prompt"

   [[blocks.segments]]
      type = "node"

      background       = "#303030"
      foreground       = "#3C873A"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uE718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}"
      trailing_diamond = "\uE0B4 "
      [blocks.segments.properties]
         fetch_package_manager = true
         npm_icon              = " <#CC3A3A>\uE5FA</> "
         yarn_icon             = " <#348CBA>\uF61A</>"

   [[blocks.segments]]
      type = "python"

      background       = "#306998"
      foreground       = "#FFE873"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uE235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "dotnet"

      background       = "#0E0E0E"
      foreground       = "#0D6DA8"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uE77F {{ if .Unsupported }}\uF071{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "go"

      background       = "#FFFFFF"
      foreground       = "#06AAD5"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uFCD1 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "rust"

      background       = "#F3F0EC"
      foreground       = "#925837"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uE7A8 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "angular"

      background       = "#FFFFFF"
      foreground       = "#CE092F"
      leading_diamond  = " \uE0B6"
      style            = "diamond"
      template         = "\uE753 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "nx"

      background       = "#1E293B"
      foreground       = "#FFFFFF"
      leading_diamond  = " \uE0B6"
      style            = "diamond"
      template         = "{{ if .Error }}{{ .Error }}{{ else }}Nx {{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "ruby"

      background       = "#FFFFFF"
      foreground       = "#9C1006"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uE791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "azfunc"

      background       = "#FFFFFF"
      foreground       = "#5398C2"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uF104<#F5BF45>\uF0E7</>\uF105 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }}"
      trailing_diamond = "\uE0B4 "

   [[blocks.segments]]
      type = "kubectl"

      background       = "#316CE4"
      foreground       = "#FFFFFF"
      leading_diamond  = "\uE0B6"
      style            = "diamond"
      template         = "\uFD31 {{.Context}}{{if .Namespace}} :: {{.Namespace}}{{end}}"
      trailing_diamond = "\uE0B4"

   [[blocks.segments]]
      type = "os"

      background      = "#B2BEC3"
      foreground      = "#222222"
      leading_diamond = "\uE0B6"
      style           = "diamond"
      template        = "{{ if .WSL }}WSL at {{ end }}{{.Icon}} <#40C4FF>\uE0B2</>"
      [blocks.segments.properties]
         linux   = "\uE712"
         macos   = "\uE711"
         windows = "\uE70F"

   [[blocks.segments]]
      type = "time"

      background       = "#40C4FF"
      foreground       = "#FFFFFF"
      style            = "diamond"
      template         = " \U000F0954 {{ .CurrentDate | date .Format }}"
      trailing_diamond = "\uE0B4"
      [blocks.segments.properties]
         time_format = "15:04:05"

[[blocks]]
   alignment = "left"
   newline   = true
   type      = "prompt"

   [[blocks.segments]]
      type = "status"

      foreground = "#21C7C7"
      foreground_templates = [
         "{{ if gt .Code 0 }}#EF5350{{ end }}",
      ]
      style = "plain"
      template = "\u2570\U000F040D "
      [blocks.segments.properties]
         always_enabled = true

[transient_prompt]
   background = "transparent"
   foreground = "#21C7C7"
   template   = "\u2500\U000F0662 "

[valid_line]
   background = "transparent"
   foreground = "green"
   template   = "\u2570\U000F05E1 "

[error_line]
   background = "transparent"
   foreground = "red"
   template   = "\u2570\U000F015A "

What OS are you seeing the problem on?

Windows

Which shell are you using?

powershell

Log output

Version: 19.11.6

Shell: pwsh (7.4.1)

Prompt:

╭─  E:     totkeks  dotfiles    main ↑2  ?17 ~3  󰔟 0ms                                                                                                            󰥔 11:57:04
╰󰐍

Segments:

ConsoleTitle(true)                         -   0 ms
Shell(true)                                -   0 ms
Root(false)                                -   0 ms
Path(true)                                 -   0 ms
Git(true)                                  -  24 ms
Executiontime(true)                        -   0 ms
Node(false)                                -   2 ms
Python(false)                              -   4 ms
Dotnet(false)                              -   1 ms
Go(false)                                  -   1 ms
Rust(false)                                -   1 ms
Angular(false)                             -   0 ms
Nx(false)                                  -   1 ms
Ruby(false)                                -   1 ms
Azfunc(false)                              -   1 ms
Kubectl(false)                             -   5 ms
Os(true)                                   -   0 ms
Time(true)                                 -   0 ms
Status(true)                               -   0 ms

Run duration: 42.8978ms

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

Config path: E:\GitHub\totkeks\dotfiles\dotfiles\.totkeks.omp.toml

Logs:

[DEBUG] 11:57:04.191 shell.go:Getenv:398 → vscode
[TRACE] 11:57:04.191 shell.go:Getenv(TERM_PROGRAM) - 514.1µs
[DEBUG] 11:57:04.191 shell.go:Getenv:398 → C:\Users\totkeks\AppData\Local
[TRACE] 11:57:04.191 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:57:04.191 shell_windows.go:CachePath() - 0s
[DEBUG] 11:57:04.192 shell.go:Getenv:398 → E:\GitHub\totkeks\dotfiles\dotfiles\.totkeks.omp.toml
[TRACE] 11:57:04.192 shell.go:Getenv(POSH_THEME) - 0s
[DEBUG] 11:57:04.192 shell.go:Shell:663 → no shell name provided in flags, trying to detect it
[DEBUG] 11:57:04.200 shell.go:Shell:671 → process name: pwsh.exe
[TRACE] 11:57:04.200 shell.go:Shell() - 7.7183ms
[TRACE] 11:57:04.200 shell.go:resolveConfigPath() - 7.7183ms
[TRACE] 11:57:04.200 shell.go:Init() - 8.7462ms
[TRACE] 11:57:04.200 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 config.go:loadConfig() - 2.0566ms
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.202 shell.go:Getenv(OMP_CACHE_DISABLED) - 0s
[TRACE] 11:57:04.202 shell_windows.go:WindowsRegistryKeyValue(HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM\ColorizationColor) - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 shell_windows.go:WindowsRegistryKeyValue:217 → ColorizationColor(DWORD): 0xC40078D4
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → 7.4.1
[TRACE] 11:57:04.202 shell.go:Getenv(POSH_SHELL_VERSION) - 0s
[DEBUG] 11:57:04.202 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 11:57:04.202 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 11:57:04.202 shell_windows.go:Root() - 0s
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[TRACE] 11:57:04.202 shell.go:StatusCodes() - 0s
[TRACE] 11:57:04.202 shell_windows.go:IsWsl() - 0s
[DEBUG] 11:57:04.202 shell.go:TemplateCache:844 → environment: [ALLUSERSPROFILE=C:\ProgramData AMDRMPATH=C:\Program Files\AMD\RyzenMaster\ APPDATA=C:\Users\totkeks\AppData\Roaming CARGO_HOME=E:\packages\cargo CHROME_CRASHPAD_PIPE_NAME=\\.\pipe\crashpad_4504_ZOIPJXHIRFQTENBR CommonProgramFiles=C:\Program Files\Common Files CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files CommonProgramW6432=C:\Program Files\Common Files COMPUTERNAME=TOTKEKS-B650M ComSpec=C:\WINDOWS\system32\cmd.exe CONDA_PROMPT_MODIFIER=False DriverData=C:\Windows\System32\Drivers\DriverData EFC_13076=1 GIT_REDIRECT_STDERR=2>&1 HOMEDRIVE=C: HOMEPATH=\Users\totkeks LOCALAPPDATA=C:\Users\totkeks\AppData\Local LOGONSERVER=\\TOTKEKS-B650M MAVEN_OPTS=-Dmaven.repo.local=E:\packages\maven npm_config_cache=E:\packages\npm NUGET_PACKAGES=E:\packages\nuget NUMBER_OF_PROCESSORS=32 OH_MY_POSH_ACTIVE_HELP=0 OneDrive=C:\Users\totkeks\OneDrive OneDriveConsumer=C:\Users\totkeks\OneDrive ORIGINAL_XDG_CURRENT_DESKTOP=undefined OS=Windows_NT Path=C:\Program Files\WindowsApps\Microsoft.PowerShell_7.4.1.0_x64__8wekyb3d8bbwe;C:\Program Files\Volta\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\GitHub CLI\;C:\Program Files\RedHat\Podman\;C:\Program Files\Git\cmd;C:\Users\totkeks\AppData\Local\Programs\Python\Python312\Scripts\;C:\Users\totkeks\AppData\Local\Programs\Python\Python312\;C:\Users\totkeks\AppData\Local\Volta\bin;C:\Users\totkeks\AppData\Local\Microsoft\WindowsApps;C:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\totkeks\AppData\Local\Programs\oh-my-posh\bin;C:\Users\totkeks\Documents\PowerShell\Scripts;C:\Users\totkeks\AppData\Local\Microsoft\WindowsApps;C:\Program Files\balena-cli\bin;C:\Users\totkeks\AppData\Roaming\SimplySerial\; PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PIP_CACHE_DIR=E:\packages\pip POSH_AZURE_ENABLED=False POSH_CURSOR_COLUMN=1 POSH_CURSOR_LINE=14 POSH_GIT_ENABLED=False POSH_INSTALLER=winget POSH_PID=32752 POSH_SHELL_VERSION=7.4.1 POSH_THEME=E:\GitHub\totkeks\dotfiles\dotfiles\.totkeks.omp.toml POSH_THEMES_PATH=C:\Users\totkeks\AppData\Local\Programs\oh-my-posh\themes POWERLINE_COMMAND=oh-my-posh PROCESSOR_ARCHITECTURE=AMD64 PROCESSOR_IDENTIFIER=AMD64 Family 25 Model 97 Stepping 2, AuthenticAMD PROCESSOR_LEVEL=25 PROCESSOR_REVISION=6102 ProgramData=C:\ProgramData ProgramFiles=C:\Program Files ProgramFiles(x86)=C:\Program Files (x86) ProgramW6432=C:\Program Files PSModulePath=C:\Users\totkeks\Documents\PowerShell\Modules;C:\Program Files\PowerShell\Modules;c:\program files\windowsapps\microsoft.powershell_7.4.1.0_x64__8wekyb3d8bbwe\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\totkeks\AppData\Local\Temp TMP=C:\Users\totkeks\AppData\Local\Temp USERDOMAIN=TOTKEKS-B650M USERDOMAIN_ROAMINGPROFILE=TOTKEKS-B650M USERNAME=totkeks USERPROFILE=C:\Users\totkeks VCPKG_DEFAULT_BINARY_CACHE=E:\packages\vcpkg windir=C:\WINDOWS TERM_PROGRAM=vscode TERM_PROGRAM_VERSION=1.86.2 LANG=en_US.UTF-8 COLORTERM=truecolor GIT_ASKPASS=c:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass.sh VSCODE_GIT_ASKPASS_NODE=C:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\Code.exe VSCODE_GIT_ASKPASS_EXTRA_ARGS= VSCODE_GIT_ASKPASS_MAIN=c:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\askpass-main.js GIT_EDITOR="c:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\git-editor.sh" VSCODE_GIT_EDITOR_NODE=C:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\Code.exe VSCODE_GIT_EDITOR_EXTRA_ARGS= VSCODE_GIT_EDITOR_MAIN=c:\Users\totkeks\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\git\dist\git-editor-main.js VSCODE_GIT_IPC_HANDLE=\\.\pipe\vscode-git-a55ed02dee-sock VSCODE_INJECTION=1]
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 shell.go:Pwd:428 → E:\GitHub\totkeks\dotfiles
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 shell.go:User:563 → totkeks
[TRACE] 11:57:04.202 shell.go:User() - 0s
[DEBUG] 11:57:04.202 shell.go:Host:575 → totkeks-b650m
[TRACE] 11:57:04.202 shell.go:Host() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.202 shell.go:Getenv(SHLVL) - 0s
[TRACE] 11:57:04.202 shell.go:TemplateCache() - 515.1µs
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → 14
[TRACE] 11:57:04.202 shell.go:Getenv(POSH_CURSOR_LINE) - 0s
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → 1
[TRACE] 11:57:04.202 shell.go:Getenv(POSH_CURSOR_COLUMN) - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.202 segment.go:SetEnabled:523 → Segment: Executiontime
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.202 segment.go:SetEnabled:523 → Segment: Shell
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 segment.go:SetEnabled:523 → Segment: Path
[DEBUG] 11:57:04.202 segment.go:SetEnabled:523 → Segment: Git
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[DEBUG] 11:57:04.202 segment.go:SetEnabled:523 → Segment: Root
[DEBUG] 11:57:04.202 properties.go:GetBool:22 → always_enabled: true
[TRACE] 11:57:04.202 shell.go:ExecutionTime() - 0s
[DEBUG] 11:57:04.202 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[bash: pwsh:]
[TRACE] 11:57:04.202 shell.go:Shell() - 0s
[DEBUG] 11:57:04.202 properties.go:GetFloat64:34 → threshold: 500.000000
[DEBUG] 11:57:04.202 shell.go:Getenv:398 → C:\Users\totkeks\AppData\Local
[TRACE] 11:57:04.202 shell.go:Flags() - 0s
[TRACE] 11:57:04.202 shell.go:Getenv(LOCALAPPDATA) - 0s
[DEBUG] 11:57:04.202 properties.go:GetString:28 → austin
[TRACE] 11:57:04.202 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.202 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.202 shell_windows.go:Root() - 0s
[DEBUG] 11:57:04.202 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 11:57:04.202 properties.go:GetString:28 → 
[DEBUG] 11:57:04.202 properties.go:GetString:28 → 
[DEBUG] 11:57:04.202 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.202 properties.go:GetString:28 → 󰋞
[DEBUG] 11:57:04.202 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:GOOS() - 0s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[DEBUG] 11:57:04.202 properties.go:GetString:28 → agnoster_short
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[DEBUG] 11:57:04.202 properties.go:GetInt:40 → max_depth: 2
[DEBUG] 11:57:04.202 properties.go:GetString:28 → 
[DEBUG] 11:57:04.202 properties.go:GetBool:22 → hide_root_location: false
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[DEBUG] 11:57:04.202 properties.go:GetStringArray:52 → cycle: []
[DEBUG] 11:57:04.202 properties.go:GetString:28 → NO DATA
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[DEBUG] 11:57:04.202 properties.go:GetString:28 →  
[DEBUG] 11:57:04.202 properties.go:GetBool:22 → cycle_folder_separator: false
[DEBUG] 11:57:04.202 properties.go:GetString:28 → %s
[DEBUG] 11:57:04.202 properties.go:GetString:28 → %s
[TRACE] 11:57:04.202 shell.go:PathSeparator() - 0s
[TRACE] 11:57:04.202 shell.go:Pwd() - 0s
[TRACE] 11:57:04.202 shell_windows.go:IsWsl() - 0s
[TRACE] 11:57:04.202 shell.go:StackCount() - 0s
[DEBUG] 11:57:04.203 win32_windows.go:isWriteable:303 → current user is member of S-1-5-32-544
[DEBUG] 11:57:04.203 win32_windows.go:isWriteable:311 ↓
    WRITE_DAC
    WRITE_OWNER
    SYNCHRONIZE
    DELETE
    READ_CONTROL
[DEBUG] 11:57:04.203 win32_windows.go:isWriteable:313 → user has write access
[TRACE] 11:57:04.203 shell_windows.go:DirIsWritable() - 513.3µs
[TRACE] 11:57:04.203 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.205 shell.go:CommandPath:615 → C:\Program Files\Git\cmd\git.exe
[TRACE] 11:57:04.205 shell.go:CommandPath(git.exe) - 2.5735ms
[TRACE] 11:57:04.205 shell.go:HasCommand(git.exe) - 2.5735ms
[TRACE] 11:57:04.205 shell.go:Pwd() - 0s
[TRACE] 11:57:04.205 shell.go:HasParentFilePath(.git) - 0s
[DEBUG] 11:57:04.205 properties.go:GetStringArray:52 → exclude_folders: []
[DEBUG] 11:57:04.205 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.205 properties.go:GetBool:22 → fetch_user: false
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.205 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.205 shell.go:Getenv(POSH_GIT_STATUS) - 0s
[DEBUG] 11:57:04.205 properties.go:GetBool:22 → fetch_status: true
[DEBUG] 11:57:04.205 properties.go:GetStringArray:52 → ignore_status: []
[DEBUG] 11:57:04.205 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.205 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.205 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 11:57:04.205 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[DEBUG] 11:57:04.205 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[DEBUG] 11:57:04.227 shell.go:RunCommand:593 ↓
    # branch.oid d2a9961188caf8e165545f26986db816fa51c07f
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +2 -0
    1 .M N... 100644 100644 100644 51c426df6bef537db46cbb02df749372e73d80f3 51c426df6bef537db46cbb02df749372e73d80f3 Install-Dotfiles.ps1
    1 .M N... 100644 100644 100644 31cff23e15c5178939d2ee061260eb38ec4fde16 31cff23e15c5178939d2ee061260eb38ec4fde16 dotfiles/.totkeks.omp.toml
    1 .M N... 100644 100644 100644 af1789ba2e991e73592bb07e76888b040e8789f9 af1789ba2e991e73592bb07e76888b040e8789f9 setup/windows/enable-longpaths.reg
    ? defaults/prettierrc
    ? setup/windows/Install-Apps.ps1
    ? setup/windows/Rename-HomeDirectory.ps1
    ? setup/windows/Set-VirtualDesktops.ps1
    ? setup/windows/apps.csv
    ? setup/windows/enable-dark-theme.reg
    ? setup/windows/hide-recycle-bin.reg
    ? setup/windows/hide-taskbar-search.reg
    ? setup/windows/hide-taskbar-widgets.reg
    ? setup/windows/set-explorer-defaults.reg
    ? setup/windows/system-setup.ps1
    ? setup/windows/system-tray.txt
    ? setup/windows/taskbar.txt
    ? setup/windows/unattend-template.xml
    ? setup/windows/user-setup-pwsh.ps1
    ? setup/windows/user-setup.ps1
    ? system.configuration.dsc.yaml
[TRACE] 11:57:04.227 shell.go:RunCommand(git.exe -C E:/GitHub/totkeks/dotfiles --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 21.8242ms
[DEBUG] 11:57:04.227 properties.go:GetString:28 → 
[DEBUG] 11:57:04.227 properties.go:GetInt:40 → branch_max_length: 0
[DEBUG] 11:57:04.227 shell.go:HasFolder:507 → false
[TRACE] 11:57:04.227 shell.go:HasFolder(E:\GitHub\totkeks\dotfiles\.git/rebase-merge) - 0s
[DEBUG] 11:57:04.227 shell.go:HasFolder:507 → false
[TRACE] 11:57:04.227 shell.go:HasFolder(E:\GitHub\totkeks\dotfiles\.git/rebase-apply) - 0s
[DEBUG] 11:57:04.227 properties.go:GetString:28 → 
[DEBUG] 11:57:04.227 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.227 shell.go:HasFilesInDir(MERGE_MSG) - 0s
[DEBUG] 11:57:04.227 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.227 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 0s
[DEBUG] 11:57:04.227 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.227 shell.go:HasFilesInDir(REVERT_HEAD) - 0s
[DEBUG] 11:57:04.227 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.227 shell.go:HasFilesInDir(sequencer/todo) - 0s
[DEBUG] 11:57:04.227 properties.go:GetString:28 → ↑
[DEBUG] 11:57:04.227 properties.go:GetBool:22 → fetch_upstream_icon: true
[DEBUG] 11:57:04.227 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
[DEBUG] 11:57:04.227 properties.go:GetString:28 → 
[TRACE] 11:57:04.227 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.227 text.go:Render:70 → Rendering template:  󰔟 {{ .FormattedMs }}
[DEBUG] 11:57:04.227 text.go:Render:70 → Rendering template: {{ .Name }}
[DEBUG] 11:57:04.227 text.go:Render:70 → Rendering template:  {{ .Path }}
[DEBUG] 11:57:04.227 text.go:Render:70 → Rendering template:  {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}<#EF5350>  {{ .Staging.String }}</>{{ end }}
[TRACE] 11:57:04.227 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.227 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.227 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.227 shell.go:Shell() - 0s
[TRACE] 11:57:04.227 shell.go:Shell() - 0s
[TRACE] 11:57:04.228 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.228 shell.go:Shell() - 0s
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: powerline
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}#FFEB95{{ end }}
[TRACE] 11:57:04.228 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: powerline
[DEBUG] 11:57:04.228 text.go:Render:70 → Rendering template: diamond
[TRACE] 11:57:04.228 shell.go:Shell() - 0s
[TRACE] 11:57:04.228 shell.go:Shell() - 0s
[TRACE] 11:57:04.228 shell.go:Shell() - 0s
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[DEBUG] 11:57:04.228 properties.go:GetString:28 → environment
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Time
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Python
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Nx
[DEBUG] 11:57:04.228 properties.go:GetString:28 → 15:04:05
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Azfunc
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [workspace.json nx.json]
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Os
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetString:28 → 
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → fetch_virtual_env: true
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 shell.go:Getenv:398 → C:\Users\totkeks\AppData\Local
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Getenv(LOCALAPPDATA) - 516.1µs
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Node
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → fetch_package_manager: true
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Go
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:HasFiles(*.rb) - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Getenv(LOCALAPPDATA) - 516.1µs
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Angular
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[DEBUG] 11:57:04.228 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [angular.json]
[TRACE] 11:57:04.228 shell.go:HasFiles(workspace.json) - 516.1µs
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Rust
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [*.rs Cargo.toml Cargo.lock]
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 11:57:04.228 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:HasFiles(host.json) - 516.1µs
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[TRACE] 11:57:04.228 shell.go:Flags() - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.228 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.228 segment.go:SetEnabled:523 → Segment: Dotnet
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 11:57:04.228 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:57:04.228 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell_windows.go:58 → C:\Users\totkeks
[DEBUG] 11:57:04.228 properties.go:GetString:28 → files
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.228 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.228 shell.go:HasFiles(Rakefile) - 0s
[TRACE] 11:57:04.228 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(yarn.lock) - 519.5µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.rs) - 519.5µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(angular.json) - 519.5µs
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.go) - 519.5µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(local.settings.json) - 519.5µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(nx.json) - 519.5µs
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.cs) - 519.5µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(Gemfile) - 519.5µs
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(package-lock.json) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(Cargo.toml) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(function.json) - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(go.mod) - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.csx) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(package.json) - 516µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(Cargo.lock) - 516µs
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.vb) - 516µs
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.js) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.sln) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.ts) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.slnf) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(package.json) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(*.csproj) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.229 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.229 shell.go:HasFiles(.nvmrc) - 0s
[TRACE] 11:57:04.229 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(pnpm-workspace.yaml) - 514.4µs
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[TRACE] 11:57:04.230 shell.go:HasFiles(*.vbproj) - 514.4µs
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(.pnpmfile.cjs) - 0s
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(*.fs) - 0s
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(.npmrc) - 0s
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(*.fsx) - 0s
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(.vue) - 0s
[TRACE] 11:57:04.230 shell.go:HasFiles(*.fsproj) - 0s
[TRACE] 11:57:04.230 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.230 shell.go:HasFiles:464 → false
[TRACE] 11:57:04.230 shell.go:HasFiles(global.json) - 0s
[DEBUG] 11:57:04.232 shell.go:CommandPath:615 → C:\Users\totkeks\AppData\Local\Programs\Python\Python312\python.exe
[TRACE] 11:57:04.232 shell.go:CommandPath(python) - 4.6311ms
[DEBUG] 11:57:04.232 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.232 shell.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 11:57:04.232 shell.go:HasFilesInDir:478 → false
[TRACE] 11:57:04.232 shell.go:HasFilesInDir(pyvenv.cfg) - 0s
[DEBUG] 11:57:04.232 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.232 shell.go:Getenv(VIRTUAL_ENV) - 0s
[DEBUG] 11:57:04.232 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.232 shell.go:Getenv(CONDA_ENV_PATH) - 0s
[DEBUG] 11:57:04.232 shell.go:Getenv:398 → NO DATA
[TRACE] 11:57:04.232 shell.go:Getenv(CONDA_DEFAULT_ENV) - 0s
[ERROR] 11:57:04.233 shell.go:CommandPath:619 → The system cannot find the file specified.
[TRACE] 11:57:04.233 shell.go:CommandPath(kubectl) - 5.6484ms
[TRACE] 11:57:04.233 shell.go:HasCommand(kubectl) - 5.6484ms
[DEBUG] 11:57:04.233 text.go:Render:70 → Rendering template:  󰥔 {{ .CurrentDate | date .Format }}
[DEBUG] 11:57:04.233 text.go:Render:70 → Rendering template: {{ if .WSL }}WSL at {{ end }}{{.Icon}} <#40C4FF></>
[TRACE] 11:57:04.233 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.233 shell.go:TemplateCache() - 0s
[TRACE] 11:57:04.233 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: diamond
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[DEBUG] 11:57:04.234 shell_windows.go:TerminalWidth:111 → terminal width: 189
[TRACE] 11:57:04.234 shell_windows.go:TerminalWidth() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Flags() - 0s
[DEBUG] 11:57:04.234 properties.go:GetString:28 → {{ .Code }}
[TRACE] 11:57:04.234 shell.go:Pwd() - 0s
[DEBUG] 11:57:04.234 shell_windows.go:58 → C:\Users\totkeks
[TRACE] 11:57:04.234 shell.go:GOOS() - 0s
[DEBUG] 11:57:04.234 segment.go:SetEnabled:523 → Segment: Status
[TRACE] 11:57:04.234 shell.go:StatusCodes() - 0s
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 11:57:04.234 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.234 properties.go:GetBool:22 → always_enabled: true
[TRACE] 11:57:04.234 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: ╰󰐍
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[DEBUG] 11:57:04.234 shell.go:Getenv:398 → vscode
[TRACE] 11:57:04.234 shell.go:Getenv(TERM_PROGRAM) - 0s
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#EF5350{{ end }}
[TRACE] 11:57:04.234 shell.go:TemplateCache() - 0s
[DEBUG] 11:57:04.234 text.go:Render:70 → Rendering template: plain
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Flags() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[TRACE] 11:57:04.234 shell.go:Shell() - 0s
[DEBUG] 11:57:04.234 shell.go:Getenv:398 → C:\Users\totkeks\AppData\Local
[TRACE] 11:57:04.234 shell.go:Getenv(LOCALAPPDATA) - 0s
[TRACE] 11:57:04.234 shell_windows.go:CachePath() - 0s
[TRACE] 11:57:04.234 shell.go:Flags() - 0s
JanDeDobbeleer commented 7 months ago

@totkeks I can reproduce this, but on validating our configuration for this, everything seems correct. My hunch is that PowerShell can't handle this functionality in a multiline setup, it replaces part of the prompt on the previous line (which it shouldn't do). As we don't control that part, please check in with the PowerShell team so they can solve this.

totkeks commented 6 months ago

I passed this on to the PowerShell team (https://github.com/PowerShell/PowerShell/issues/21363) but they were pretty quick in providing a counter example.

Are you sure it is not related to OMP? I might have to try their example again with those unicode characters, maybe that plays a role.

JanDeDobbeleer commented 2 months ago

@totkeks it sets the following based on your configuration:

image

When I adjust the configuration to this:

[valid_line]
   background = "transparent"
   foreground = "green"
   template   = "v "

[error_line]
   background = "transparent"
   foreground = "red"
   template   = "x "

Nothing is an issue, it works as designed. My assumption is that the "special" characters cause this, PSReadline doesn't seem to handle these correctly (probably calculates the width incorrectly).