JanDeDobbeleer / oh-my-posh

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

Text characters disappear when selecting `reverse-i-search` in bash #4509

Closed fabricioandreis closed 11 months ago

fabricioandreis commented 11 months ago

Code of Conduct

What happened?

Given that I am using oh-my-posh on Ubuntu in Windows Subsystem for Linux When I select an option by typing Tab or -> (right arrow) or End while inputing text in the reverse-i-search (Ctrl + R) Then the text characters after the first word disappear

myFile01-12-2023_111604

Theme

{
  "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
  "version": 2,
  "final_space": true,
  "console_title_template": "{{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}",
  "blocks": [
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "os",
          "style": "diamond",
          "foreground": "#26C6DA",
          "background": "#2f2f2f",
          "leading_diamond": "\ue0c7\u2593",
          "template": " {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#7a7a7a> \ue0b1</>",
          "properties": {
            "alpine": "\uf300",
            "arch": "\uf303",
            "centos": "\uf304",
            "debian": "\uf306",
            "elementary": "\uf309",
            "fedora": "\uf30a",
            "gentoo": "\uf30d",
            "linux": "\ue712",
            "macos": "\ue711",
            "manjaro": "\uf312",
            "mint": "\uf30f",
            "opensuse": "\uf314",
            "raspbian": "\uf315",
            "ubuntu": "\uf31c",
            "windows": "\ue70f",
            "wsl": "\ue712",
            "wsl_separator": " on "
          }
        },
        {
          "type": "session",
          "style": "diamond",
          "foreground": "#fafafa",
          "background": "#2f2f2f",
          "template": " {{ if .SSHSession }}\ueba9 {{ end }}<#67e672>{{ .UserName }}</><#7a7a7a>\uf1fa</><#67cdfe>{{ .HostName }}</><#7a7a7a> \ue0b1</>",
          "properties": {
            "display_default": false
          }
        },
        {
          "type": "root",
          "style": "diamond",
          "foreground": "#ffff66",
          "background": "#2f2f2f",
          "template": " \uf0e7<#7a7a7a> \ue0b1</>",
          "properties": {
            "root_icon": "\uf0e7"
          }
        },
        {
          "type": "path",
          "style": "diamond",
          "foreground": "#fafafa",
          "background": "#2f2f2f",
          "template": "<#f2f200> \ue5ff </>{{ .Path }} ",
          "properties": {
            "folder_icon": "<#B5B2C2>\ue5fe </>",
            "folder_separator_icon": "<#B5B2C2>\ue0bf </>",
            "home_icon": "\uf015",
            "style": "agnoster_short"
          }
        },
        {
          "type": "git",
          "style": "diamond",
          "foreground": "#ffeb3b",
          "foreground_templates": [
            "{{ if or (.Working.Changed) (.Staging.Changed) }}#ffeb3b{{ end }}",
            "{{ if gt .Ahead 0 }}#8A4FFF{{ end }}",
            "{{ if gt .Behind 0 }}#2EC4B6{{ end }}"
          ],
          "background": "#2f2f2f",
          "template": "<#7a7a7a>\ue0b1 </>{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 <#E84855>{{ .Working.String }}</>{{ end }}{{ if and (.Staging.Changed) (.Working.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 <#2FDA4E>{{ .Staging.String }}</>{{ end }} ",
          "properties": {
            "fetch_stash_count": true,
            "fetch_status": true,
            "fetch_upstream_icon": true
          }
        },
        {
          "type": "text",
          "style": "diamond",
          "foreground": "#fafafa",
          "background": "#2f2f2f",
          "trailing_diamond": "\ue0b0"
        }
      ]
    },
    {
      "type": "prompt",
      "alignment": "right",
      "segments": [
        {
          "type": "text",
          "style": "diamond",
          "foreground": "#fafafa",
          "background": "#2f2f2f",
          "leading_diamond": "\ue0b2"
        },
        {
          "type": "node",
          "style": "diamond",
          "foreground": "#6CA35E",
          "background": "#2f2f2f",
          "template": " \ue718 {{ if .PackageManagerIcon }}{{ .PackageManagerIcon }} {{ end }}{{ .Full }}<#7a7a7a> \ue0b3</>"
        },
        {
          "type": "python",
          "style": "diamond",
          "foreground": "#96E072",
          "background": "#2f2f2f",
          "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ if .Venv }}{{ .Venv }} {{ end }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>"
        },
        {
          "type": "dotnet",
          "style": "diamond",
          "foreground": "#3891A6",
          "background": "#2f2f2f",
          "template": " \ue77f {{ if .Unsupported }}\uf071{{ else }}{{ .Full }}{{ end }}<#7a7a7a> \ue0b3</>"
        },
        {
          "type": "time",
          "style": "diamond",
          "foreground": "#fafafa",
          "background": "#2f2f2f",
          "trailing_diamond": "\u2593\ue0c6",
          "template": " {{ .CurrentDate | date .Format }}<#007ACC> \uf64f </>",
          "properties": {
            "time_format": "15:04:05"
          }
        }
      ]
    },
    {
      "type": "newline"
    },
    {
      "type": "prompt",
      "alignment": "left",
      "segments": [
        {
          "type": "text",
          "style": "plain",
          "foreground": "#7a7a7a",
          "template": " ~#@❯ "
        }
      ]
    },
    {
      "type": "rprompt",
      "alignment": "right",
      "segments": [
        {
          "type": "text",
          "style": "plain",
          "foreground": "#7a7a7a",
          "template": " ❮ "
        },
        {
          "type": "executiontime",
          "style": "plain",
          "foreground": "#FFCE5C",
          "template": " {{ .FormattedMs }}<#fafafa> \uf252 </>",
          "properties": {
            "style": "roundrock",
            "threshold": 500
          }
        },
        {
          "type": "exit",
          "style": "plain",
          "foreground": "#9FD356",
          "foreground_templates": [
            "{{ if gt .Code 0 }}#E84855{{ end }}"
          ],
          "template": " \uf705 {{ if gt .Code 0 }}\uf00d {{ .Code }}{{ else }}\uf42e{{ end }} ",
          "properties": {
            "always_enabled": true,
            "display_exit_code": true
          }
        }
      ]
    }
  ]
}

What OS are you seeing the problem on?

Linux

Which shell are you using?

bash

Log output

Version: 18.27.1

Shell: bash (5.1.16(1)-release)

Prompt:

▓ WSL at   fabricioFabricio-Triton                                                                                                                                                                                                                                             11:20:17  ▓
 ~#@❯  7                                                                                                                                                                                                                                                                                     ❮    8

Segments:

ConsoleTitle(true)                         -   0 ms
Os(true)                                   -   0 ms
Session(true)                              -   1 ms
Root(false)                                -   0 ms
Path(true)                                 -   1 ms
Git(false)                                 -   1 ms
Text(false)                                -   0 ms
Text(false)                                -   0 ms
Node(false)                                -   0 ms
Python(false)                              -   0 ms
Dotnet(false)                              -   0 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms
Text(true)                                 -   0 ms
Executiontime(false)                       -   0 ms
Exit(true)                                 -   0 ms

Run duration: 5.472682ms

Cache path: /home/fabricio/.cache/oh-my-posh

Config path: /home/fabricio/.poshthemes/fabricio.omp.json

Logs:

[DEBUG] 11:20:17.143 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.143 shell.go:Getenv(TERM_PROGRAM) - 17.077µs
[DEBUG] 11:20:17.143 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.143 shell.go:Getenv(OMP_CACHE_DIR) - 2.415µs
[DEBUG] 11:20:17.143 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.143 shell.go:Getenv(XDG_CACHE_HOME) - 1.483µs
[TRACE] 11:20:17.143 shell_unix.go:CachePath() - 14.177µs
[DEBUG] 11:20:17.143 shell.go:Getenv:398 → /home/fabricio/.poshthemes/fabricio.omp.json
[TRACE] 11:20:17.143 shell.go:Getenv(POSH_THEME) - 2.243µs
[DEBUG] 11:20:17.143 shell_unix.go:Platform:77 → ubuntu
[TRACE] 11:20:17.143 shell.go:resolveConfigPath() - 9.598µs
[TRACE] 11:20:17.143 shell.go:Init() - 115.332µs
[TRACE] 11:20:17.143 shell.go:Flags() - 43ns
[TRACE] 11:20:17.143 config.go:loadConfig() - 432.322µs
[TRACE] 11:20:17.143 shell.go:Flags() - 50ns
[DEBUG] 11:20:17.143 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.144 shell.go:Getenv(OMP_CACHE_DISABLED) - 2.149µs
[DEBUG] 11:20:17.144 shell.go:Shell:652 → no shell name provided in flags, trying to detect it
[DEBUG] 11:20:17.144 shell.go:Shell:660 → process name: bash
[TRACE] 11:20:17.144 shell.go:Shell() - 354.478µs
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → 5.1.16(1)-release
[TRACE] 11:20:17.144 shell.go:Getenv(POSH_SHELL_VERSION) - 1.792µs
[DEBUG] 11:20:17.144 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 11:20:17.144 text.go:Render:70 → Rendering template: {{if .Root}}root :: {{end}}{{.Shell}} :: {{.Folder}}
[TRACE] 11:20:17.144 shell_unix.go:Root() - 339ns
[TRACE] 11:20:17.144 shell.go:Shell() - 69ns
[TRACE] 11:20:17.144 shell.go:StatusCodes() - 42ns
[DEBUG] 11:20:17.144 shell_unix.go:IsWsl:35 → true
[TRACE] 11:20:17.144 shell_unix.go:IsWsl() - 4.812µs
[DEBUG] 11:20:17.144 shell.go:TemplateCache:833 → environment: [SHELL=/bin/bash WSL2_GUI_APPS_ENABLED=1 POSH_PID=30113 WSL_DISTRO_NAME=Ubuntu WT_SESSION=23c08a66-ffb3-4c4d-9323-bcdeffeed14c GOPRIVATE=github.com/90poe,buf.build/gen/go GOBIN=/home/fabricio/go/bin NAME=Fabricio-Triton PWD=/home/fabricio LOGNAME=fabricio CDPATH=.:/home/fabricio:/home/fabricio/90poe:/home/fabricio/fab HOME=/home/fabricio LANG=C.UTF-8 WSL_INTEROP=/run/WSL/30110_interop LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36: POSH_SHELL_VERSION=5.1.16(1)-release WAYLAND_DISPLAY=wayland-0 CONDA_PROMPT_MODIFIER=false BUF_USER=fabricioandreis LESSCLOSE=/usr/bin/lesspipe %s %s TERM=xterm-256color LESSOPEN=| /usr/bin/lesspipe %s USER=fabricio VAULT_ADDR=https://vault.infra.internal:8200 GOPROXY=https://proxy.golang.org,direct DISPLAY=:0 SHLVL=1 POSH_THEME=/home/fabricio/.poshthemes/fabricio.omp.json XDG_RUNTIME_DIR=/run/user/1000/ WSLENV=WT_SESSION:WT_PROFILE_ID: XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop GONOSUMDB=github.com/90poe,buf.build/gen/go BROWSER=wslview PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files/GitHub CLI/:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Docker/Docker/resources/bin:/mnt/c/Users/fabri/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/fabri/AppData/Local/Programs/oh-my-posh/bin:/mnt/c/Program Files/Dell/Dell Display Manager 2:/mnt/c/Users/fabri/AppData/Local/Keybase/:/snap/bin:/home/fabricio/go/bin DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus HOSTTYPE=x86_64 POWERLINE_COMMAND=oh-my-posh PULSE_SERVER=unix:/mnt/wslg/PulseServer VAULT_SKIP_VERIFY=1 WT_PROFILE_ID={51855cb2-8cce-5362-8f54-464b92b32386} GOPATH=/home/fabricio/go _=/usr/local/bin/oh-my-posh]
[TRACE] 11:20:17.144 shell.go:GOOS() - 63ns
[DEBUG] 11:20:17.144 shell.go:Pwd:428 → /home/fabricio
[TRACE] 11:20:17.144 shell.go:Pwd() - 7.313µs
[TRACE] 11:20:17.144 shell.go:GOOS() - 37ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 52ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 25ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 23ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 26ns
[DEBUG] 11:20:17.144 shell.go:User:563 → fabricio
[TRACE] 11:20:17.144 shell.go:User() - 2.072µs
[DEBUG] 11:20:17.144 shell.go:Host:575 → Fabricio-Triton
[TRACE] 11:20:17.144 shell.go:Host() - 2.811µs
[TRACE] 11:20:17.144 shell.go:GOOS() - 21ns
[DEBUG] 11:20:17.144 shell_unix.go:Platform:77 → ubuntu
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → 1
[TRACE] 11:20:17.144 shell.go:Getenv(SHLVL) - 1.627µs
[TRACE] 11:20:17.144 shell.go:TemplateCache() - 75.565µs
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.144 shell.go:Getenv(POSH_CURSOR_LINE) - 2.505µs
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.144 shell.go:Getenv(POSH_CURSOR_COLUMN) - 1.27µs
[TRACE] 11:20:17.144 shell.go:Flags() - 65ns
[TRACE] 11:20:17.144 shell.go:Flags() - 22ns
[TRACE] 11:20:17.144 shell.go:Shell() - 57ns
[TRACE] 11:20:17.144 shell.go:Shell() - 27ns
[TRACE] 11:20:17.144 shell.go:Flags() - 99ns
[TRACE] 11:20:17.144 shell.go:Pwd() - 164ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 40ns
[DEBUG] 11:20:17.144 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 11:20:17.144 shell.go:TemplateCache() - 90ns
[TRACE] 11:20:17.144 shell.go:Flags() - 43ns
[TRACE] 11:20:17.144 shell.go:Pwd() - 49ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 24ns
[DEBUG] 11:20:17.144 segment.go:SetEnabled:512 → Segment: Git
[DEBUG] 11:20:17.144 shell_unix.go:IsWsl:35 → true
[TRACE] 11:20:17.144 shell_unix.go:IsWsl() - 2.617µs
[DEBUG] 11:20:17.144 shell.go:FileContent:537 ↓
    5.15.133.1-microsoft-standard-WSL2

[TRACE] 11:20:17.144 shell.go:FileContent(/proc/sys/kernel/osrelease) - 15.782µs
[TRACE] 11:20:17.144 shell_unix.go:IsWsl2() - 23.098µs
[TRACE] 11:20:17.144 shell.go:Pwd() - 61ns
[TRACE] 11:20:17.144 shell.go:Flags() - 542ns
[TRACE] 11:20:17.144 shell.go:Pwd() - 124ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 39ns
[DEBUG] 11:20:17.144 segment.go:SetEnabled:512 → Segment: Root
[TRACE] 11:20:17.144 shell_unix.go:Root() - 357ns
[TRACE] 11:20:17.144 shell.go:Flags() - 37ns
[TRACE] 11:20:17.144 shell.go:Pwd() - 53ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 42ns
[DEBUG] 11:20:17.144 segment.go:SetEnabled:512 → Segment: Os
[TRACE] 11:20:17.144 shell.go:GOOS() - 24ns
[DEBUG] 11:20:17.144 shell_unix.go:Platform:77 → ubuntu
[DEBUG] 11:20:17.144 properties.go:GetBool:22 → display_distro_name: false
[DEBUG] 11:20:17.144 properties.go:GetString:28 → 
[TRACE] 11:20:17.144 shell.go:TemplateCache() - 190ns
[TRACE] 11:20:17.144 shell.go:Flags() - 36ns
[TRACE] 11:20:17.144 shell.go:Pwd() - 56ns
[TRACE] 11:20:17.144 shell.go:GOOS() - 37ns
[DEBUG] 11:20:17.144 segment.go:SetEnabled:512 → Segment: Session
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.144 shell.go:Getenv(SSH_CONNECTION) - 1.965µs
[DEBUG] 11:20:17.144 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.144 shell.go:Getenv(SSH_CLIENT) - 1.466µs
[DEBUG] 11:20:17.144 shell_unix.go:Platform:77 → ubuntu
[TRACE] 11:20:17.145 shell.go:Flags() - 270ns
[TRACE] 11:20:17.145 shell.go:Pwd() - 105ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 40ns
[DEBUG] 11:20:17.145 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 11:20:17.145 shell.go:Pwd() - 47ns
[TRACE] 11:20:17.145 shell.go:Shell() - 69ns
[TRACE] 11:20:17.145 shell.go:Shell() - 24ns
[DEBUG] 11:20:17.145 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 11:20:17.145 properties.go:GetString:28 → 
[DEBUG] 11:20:17.145 properties.go:GetString:28 → 
[TRACE] 11:20:17.145 shell.go:GOOS() - 35ns
[DEBUG] 11:20:17.145 properties.go:GetString:28 → 
[DEBUG] 11:20:17.145 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 41ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 23ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 23ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 130ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 33ns
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 47ns
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 36ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 41ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 39ns
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 37ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 23ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 23ns
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 22ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 22ns
[TRACE] 11:20:17.145 shell.go:GOOS() - 21ns
[TRACE] 11:20:17.145 shell.go:PathSeparator() - 23ns
[TRACE] 11:20:17.145 shell.go:Pwd() - 85ns
[DEBUG] 11:20:17.145 shell_unix.go:IsWsl:35 → true
[TRACE] 11:20:17.145 shell_unix.go:IsWsl() - 3.507µs
[DEBUG] 11:20:17.145 shell.go:RunCommand:593 → //wsl.localhost/Ubuntu/home/fabricio
[TRACE] 11:20:17.145 shell.go:RunCommand(wslpath -m /home/fabricio) - 1.228047ms
[DEBUG] 11:20:17.145 shell.go:RunCommand:593 → NO DATA
[TRACE] 11:20:17.145 shell.go:GOOS() - 46ns
[TRACE] 11:20:17.145 shell.go:RunCommand(who am i) - 969.814µs
[DEBUG] 11:20:17.145 shell.go:CommandPath:614 → /usr/bin/git
[TRACE] 11:20:17.145 shell.go:CommandPath(git) - 17.391µs
[TRACE] 11:20:17.145 shell.go:HasCommand(git) - 19.522µs
[TRACE] 11:20:17.145 shell.go:Pwd() - 108ns
[TRACE] 11:20:17.145 shell.go:TemplateCache() - 236ns
[ERROR] 11:20:17.145 shell.go:HasParentFilePath:748 → stat .git: no such file or directory
[TRACE] 11:20:17.145 shell.go:HasParentFilePath(.git) - 10.965µs
[DEBUG] 11:20:17.145 properties.go:GetBool:22 → fetch_bare_info: false
[DEBUG] 11:20:17.146 shell.go:RunCommand:593 → //wsl.localhost/Ubuntu/home/fabricio
[TRACE] 11:20:17.146 shell.go:RunCommand(wslpath -m /home/fabricio) - 630.546µs
[TRACE] 11:20:17.146 shell.go:StackCount() - 113ns
[TRACE] 11:20:17.146 shell_unix.go:DirIsWritable(/home/fabricio) - 4.315µs
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 199ns
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template:   
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 88ns
[TRACE] 11:20:17.146 shell.go:Shell() - 57ns
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: <#f2f200>  </>{{ .Path }} 
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template:  {{ if .SSHSession }} {{ end }}<#67e672>{{ .UserName }}</><#7a7a7a></><#67cdfe>{{ .HostName }}</><#7a7a7a> </>
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template:  {{ if .WSL }}WSL at {{ end }}{{.Icon}}<#7a7a7a> </>
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 57ns
[TRACE] 11:20:17.146 shell.go:Shell() - 52ns
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 249ns
[TRACE] 11:20:17.146 shell.go:Shell() - 66ns
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 358ns
[TRACE] 11:20:17.146 shell.go:Shell() - 101ns
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template: diamond
[TRACE] 11:20:17.146 shell.go:Shell() - 206ns
[TRACE] 11:20:17.146 shell.go:Shell() - 23ns
[TRACE] 11:20:17.146 shell.go:Shell() - 24ns
[TRACE] 11:20:17.146 shell.go:Shell() - 24ns
[TRACE] 11:20:17.146 shell.go:Flags() - 96ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 118ns
[TRACE] 11:20:17.146 shell.go:GOOS() - 55ns
[DEBUG] 11:20:17.146 segment.go:SetEnabled:512 → Segment: Time
[TRACE] 11:20:17.146 shell.go:Flags() - 173ns
[DEBUG] 11:20:17.146 properties.go:GetString:28 → 15:04:05
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 142ns
[TRACE] 11:20:17.146 shell.go:Flags() - 28ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 136ns
[TRACE] 11:20:17.146 shell.go:GOOS() - 52ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 42ns
[TRACE] 11:20:17.146 shell.go:GOOS() - 35ns
[DEBUG] 11:20:17.146 segment.go:SetEnabled:512 → Segment: Node
[DEBUG] 11:20:17.146 segment.go:SetEnabled:512 → Segment: Dotnet
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:20:17.146 properties.go:GetString:28 → environment
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → folders: []
[DEBUG] 11:20:17.146 properties.go:GetBool:22 → home_enabled: false
[DEBUG] 11:20:17.146 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:20:17.146 shell.go:Pwd() - 77ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 59ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 37ns
[TRACE] 11:20:17.146 shell.go:GOOS() - 40ns
[DEBUG] 11:20:17.146 segment.go:SetEnabled:512 → Segment: Python
[TRACE] 11:20:17.146 shell.go:Flags() - 55ns
[TRACE] 11:20:17.146 shell.go:Pwd() - 33ns
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[TRACE] 11:20:17.146 shell.go:GOOS() - 36ns
[DEBUG] 11:20:17.146 segment.go:SetEnabled:512 → Segment: Text
[DEBUG] 11:20:17.146 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 11:20:17.146 shell.go:TemplateCache() - 153ns
[DEBUG] 11:20:17.146 properties.go:GetBool:22 → home_enabled: false
[TRACE] 11:20:17.146 shell.go:Pwd() - 43ns
[DEBUG] 11:20:17.146 text.go:Render:70 → Rendering template:  {{ .CurrentDate | date .Format }}<#007ACC>  </>
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template:   
[TRACE] 11:20:17.147 shell.go:TemplateCache() - 315ns
[TRACE] 11:20:17.147 shell.go:Shell() - 72ns
[TRACE] 11:20:17.147 shell.go:TemplateCache() - 163ns
[TRACE] 11:20:17.147 shell.go:Shell() - 81ns
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template: diamond
[DEBUG] 11:20:17.147 text.go:Render:70 → Rendering template: diamond
[TRACE] 11:20:17.147 shell.go:Shell() - 56ns
[DEBUG] 11:20:17.147 shell_unix.go:TerminalWidth:70 → terminal width: 291
[TRACE] 11:20:17.147 shell_unix.go:TerminalWidth() - 718.37µs
[TRACE] 11:20:17.147 shell.go:Shell() - 90ns
[TRACE] 11:20:17.147 shell.go:Shell() - 28ns
[TRACE] 11:20:17.147 shell.go:Shell() - 29ns
[DEBUG] 11:20:17.147 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.147 shell.go:Getenv(TERM_PROGRAM) - 9.877µs
[TRACE] 11:20:17.147 shell.go:Shell() - 38ns
[TRACE] 11:20:17.147 shell.go:Shell() - 203ns
[TRACE] 11:20:17.147 shell.go:Shell() - 63ns
[TRACE] 11:20:17.147 shell.go:Shell() - 28ns
[TRACE] 11:20:17.148 shell.go:Flags() - 99ns
[TRACE] 11:20:17.148 shell.go:Pwd() - 123ns
[TRACE] 11:20:17.148 shell.go:GOOS() - 87ns
[DEBUG] 11:20:17.148 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 253ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template:  ~#@❯ 
[TRACE] 11:20:17.148 shell.go:Shell() - 84ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: plain
[TRACE] 11:20:17.148 shell.go:Shell() - 106ns
[TRACE] 11:20:17.148 shell.go:Shell() - 30ns
[TRACE] 11:20:17.148 shell.go:Shell() - 63ns
[TRACE] 11:20:17.148 shell.go:Shell() - 41ns
[DEBUG] 11:20:17.148 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.148 shell.go:Getenv(OMP_CACHE_DISABLED) - 2.802µs
[TRACE] 11:20:17.148 shell.go:Flags() - 50ns
[TRACE] 11:20:17.148 shell.go:Flags() - 114ns
[DEBUG] 11:20:17.148 properties.go:GetString:28 → {{ .Code }}
[TRACE] 11:20:17.148 shell.go:Pwd() - 92ns
[TRACE] 11:20:17.148 shell.go:GOOS() - 66ns
[DEBUG] 11:20:17.148 segment.go:SetEnabled:512 → Segment: Exit
[TRACE] 11:20:17.148 shell.go:StatusCodes() - 67ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: {{ .Code }}
[TRACE] 11:20:17.148 shell.go:Flags() - 297ns
[TRACE] 11:20:17.148 shell.go:Pwd() - 148ns
[TRACE] 11:20:17.148 shell.go:GOOS() - 61ns
[DEBUG] 11:20:17.148 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 202ns
[TRACE] 11:20:17.148 shell.go:Pwd() - 111ns
[TRACE] 11:20:17.148 shell.go:GOOS() - 74ns
[DEBUG] 11:20:17.148 segment.go:SetEnabled:512 → Segment: Executiontime
[DEBUG] 11:20:17.148 properties.go:GetBool:22 → always_enabled: false
[TRACE] 11:20:17.148 shell.go:ExecutionTime() - 83ns
[DEBUG] 11:20:17.148 properties.go:GetFloat64:34 → threshold: 500.000000
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 284ns
[DEBUG] 11:20:17.148 properties.go:GetBool:22 → always_enabled: true
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 58ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template:   {{ if gt .Code 0 }} {{ .Code }}{{ else }}{{ end }} 
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template:  ❮ 
[TRACE] 11:20:17.148 shell.go:Shell() - 101ns
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 139ns
[TRACE] 11:20:17.148 shell.go:Shell() - 57ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: plain
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#E84855{{ end }}
[TRACE] 11:20:17.148 shell.go:TemplateCache() - 146ns
[DEBUG] 11:20:17.148 text.go:Render:70 → Rendering template: plain
[TRACE] 11:20:17.148 shell.go:Shell() - 50ns
[TRACE] 11:20:17.148 shell.go:Shell() - 64ns
[TRACE] 11:20:17.148 shell.go:Flags() - 48ns
[TRACE] 11:20:17.148 shell.go:Shell() - 27ns
[TRACE] 11:20:17.148 shell.go:Shell() - 27ns
[DEBUG] 11:20:17.148 shell_unix.go:TerminalWidth:60 → terminal width: 291
[TRACE] 11:20:17.148 shell_unix.go:TerminalWidth() - 2.536µs
[TRACE] 11:20:17.148 shell.go:Flags() - 28ns
[DEBUG] 11:20:17.148 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.148 shell.go:Getenv(OMP_CACHE_DIR) - 3.234µs
[DEBUG] 11:20:17.148 shell.go:Getenv:398 → NO DATA
[TRACE] 11:20:17.148 shell.go:Getenv(XDG_CACHE_HOME) - 1.756µs
[TRACE] 11:20:17.148 shell_unix.go:CachePath() - 22.24µs
[TRACE] 11:20:17.148 shell.go:Flags() - 43ns
JanDeDobbeleer commented 11 months ago

Duplicate of #4508

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