Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[zsh] Using '%' in segment templates adds erroneous spaces at the end of the prompt #4579

Open
1 task done
Talafhah1 opened this issue Jan 3, 2024 · 5 comments
Open
1 task done
Assignees
Labels

Comments

@Talafhah1
Copy link

Code of Conduct

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

What happened?

Using % in a template adds extra spaces at the end of the line where the % occurred. Each % adds an extra space.
This appears to only happen with zsh; I haven't gotten this issue with cmd, pwsh, or bash
The easiest way to recreate this is using a text segment:

{
  "background": "#ffffff",
  "foreground": "#000000",
  "style": "diamond",
  "type": "text",
  "template": "%%%%%%"
}

This produces the following result (please note that zsh adds an extra space of padding at the end, which is a separate issue):
image

Here's the same segment in bash, notice the lack of trailing spaces
image

Theme

Custom, based on atomic

What OS are you seeing the problem on?

Linux

Which shell are you using?

zsh

Log output

 oh-my-posh debug --plain

Version: 19.3.1

Shell: zsh (5.8.1)

Prompt:

輦 XXXX@XXXXX        XXXX  0ms                                        main≡   zsh  77.40%% 01.44/01.86GiB  Wed 08:01:50 PM 03/01/2024


Segments:

ConsoleTitle(true)                         -  19 ms
Text(true)                                 -   0 ms
Root(true)                                 -   0 ms
Session(true)                              -   1 ms
Path(true)                                 -   1 ms
Executiontime(true)                        -   0 ms
Git(true)                                  -  42 ms
Node(false)                                -   0 ms
Python(false)                              -  83 ms
Java(false)                                -   0 ms
Php(false)                                 -   0 ms
Dotnet(false)                              -   0 ms
Go(false)                                  -  25 ms
Rust(false)                                -   0 ms
Dart(false)                                -   0 ms
Angular(false)                             -   0 ms
Nx(false)                                  -   0 ms
Julia(false)                               -   0 ms
Ruby(false)                                -   0 ms
Azfunc(false)                              -   0 ms
Aws(false)                                 -   0 ms
Kubectl(false)                             -  62 ms
Status(false)                              -   0 ms
Ytm(false)                                 -   2 ms
Text(true)                                 -   0 ms
Os(true)                                   -   0 ms
Shell(true)                                -   0 ms
Sysinfo(true)                              -   0 ms
Time(true)                                 -   0 ms
Text(true)                                 -   0 ms

Run duration: 177.293486ms

Cache path: /root/.cache/oh-my-posh

Config path: /termprofilebash.json

Logs:

[DEBUG] 20:01:50.719 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.719 shell.go:Getenv(TERM_PROGRAM) - 3.458777ms
[DEBUG] 20:01:50.719 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.719 shell.go:Getenv(OMP_CACHE_DIR) - 6.081µs
[DEBUG] 20:01:50.719 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.719 shell.go:Getenv(XDG_CACHE_HOME) - 3.03µs
[TRACE] 20:01:50.719 shell_unix.go:CachePath() - 26.171µs
[DEBUG] 20:01:50.720 shell.go:Getenv:399 → /termprofilebash.json
[TRACE] 20:01:50.720 shell.go:Getenv(POSH_THEME) - 8.75µs
[DEBUG] 20:01:50.720 shell_unix.go:Platform:77 → ubuntu
[TRACE] 20:01:50.720 shell.go:resolveConfigPath() - 47.62µs
[TRACE] 20:01:50.720 shell.go:Init() - 4.682436ms
[TRACE] 20:01:50.720 shell.go:Flags() - 40ns
[TRACE] 20:01:50.722 config.go:loadConfig() - 1.709234ms
[TRACE] 20:01:50.722 shell.go:Flags() - 120ns
[DEBUG] 20:01:50.722 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.722 shell.go:Getenv(OMP_CACHE_DISABLED) - 5.4µs
[DEBUG] 20:01:50.722 shell.go:Shell:662 → no shell name provided in flags, trying to detect it
[DEBUG] 20:01:50.725 shell.go:Shell:670 → process name: zsh
[TRACE] 20:01:50.725 shell.go:Shell() - 3.097169ms
[DEBUG] 20:01:50.725 shell.go:Getenv:399 → 5.8.1
[TRACE] 20:01:50.725 shell.go:Getenv(POSH_SHELL_VERSION) - 3.84µs
[DEBUG] 20:01:50.725 debug.go:PrintDebug:22 → Segment: Title
[DEBUG] 20:01:50.725 text.go:Render:70 → Rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 20:01:50.725 shell_unix.go:Root() - 450ns
[TRACE] 20:01:50.725 shell.go:Shell() - 110ns
[TRACE] 20:01:50.725 shell.go:StatusCodes() - 160ns
[DEBUG] 20:01:50.725 shell_unix.go:IsWsl:35 → true
[TRACE] 20:01:50.725 shell_unix.go:IsWsl() - 54.621µs
[DEBUG] 20:01:50.725 shell.go:TemplateCache:843 → environment: [HOSTTYPE=x86_64 LANG=C.UTF-8 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/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/dotnet/:/mnt/c/Program Files/AIRSDK_Windows/bin:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/intelFPGA_lite/22.1std/quartus/bin:/mnt/c/msys64/mingw64/bin:/mnt/c/Program Files/Microsoft VS Code/bin:/mnt/c/Program Files (x86)/Microchip/MPLAB IDE/VDI:/mnt/c/PROGRA~2/PICC:/mnt/c/Program Files (x86)/Incredibuild:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/Microsoft VS Code Insiders/bin:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files (x86)/Microsoft SQL Server/160/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/160/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Program Files/Microsoft SQL Server/160/DTS/Binn/:/mnt/c/Program Files (x86)/Microsoft SQL Server/160/DTS/Binn/:/mnt/c/Program Files/Azure Data Studio/bin:/mnt/c/Program Files/PowerShell/7/:/mnt/c/Users/omart/AppData/Local/Programs/Python/Python312/Scripts/:/mnt/c/Users/omart/AppData/Local/Programs/Python/Python312/:/mnt/c/Users/omart/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/omart/.dotnet/tools:/mnt/c/Program Files/JetBrains/IntelliJ IDEA 2022.3/bin:/mnt/c/Users/omart/AppData/Local/Programs/oh-my-posh/bin:/mnt/c/MinGW/bin:/mnt/c/Users/omart/AppData/Roaming/npm:/mnt/c/Program Files/Azure Data Studio/bin TERM=xterm-256color XDG_RUNTIME_DIR=/run/user/0/ DISPLAY=172.27.96.1:0.0 WAYLAND_DISPLAY=wayland-0 PULSE_SERVER=unix:/mnt/wslg/PulseServer WSL2_GUI_APPS_ENABLED=1 WSLENV=WT_SESSION:WT_PROFILE_ID: WT_SESSION=1a2d62f7-36eb-4a7d-90c4-0b65027ff39d WT_PROFILE_ID={51855cb2-8cce-5362-8f54-464b92b32386} WSL_INTEROP=/run/WSL/7774_interop NAME=Bison HOME=/root USER=root LOGNAME=root SHELL=/usr/bin/zsh WSL_DISTRO_NAME=Ubuntu DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/0/bus SHLVL=1 PWD=/root/src/NIPC OLDPWD=/root LIBGL_ALWAYS_INDIRECT=1 LESSOPEN=| /usr/bin/lesspipe %s LESSCLOSE=/usr/bin/lesspipe %s %s 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_THEME=/termprofilebash.json POSH_SHELL_VERSION=5.8.1 POSH_PID=7779 POWERLINE_COMMAND=oh-my-posh CONDA_PROMPT_MODIFIER=false POSH_PROMPT_COUNT=29 _=/usr/local/bin/oh-my-posh]
[TRACE] 20:01:50.744 shell.go:GOOS() - 60ns
[DEBUG] 20:01:50.745 shell.go:Pwd:429 → /root/src/NIPC
[TRACE] 20:01:50.745 shell.go:Pwd() - 19.163159ms
[TRACE] 20:01:50.745 shell.go:GOOS() - 60ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 40ns
[DEBUG] 20:01:50.745 shell.go:User:564 → root
[TRACE] 20:01:50.745 shell.go:User() - 4.36µs
[DEBUG] 20:01:50.745 shell.go:Host:576 → Bison
[TRACE] 20:01:50.745 shell.go:Host() - 5.6µs
[TRACE] 20:01:50.745 shell.go:GOOS() - 30ns
[DEBUG] 20:01:50.745 shell_unix.go:Platform:77 → ubuntu
[DEBUG] 20:01:50.745 shell.go:Getenv:399 → 1
[TRACE] 20:01:50.745 shell.go:Getenv(SHLVL) - 3.34µs
[TRACE] 20:01:50.745 shell.go:TemplateCache() - 19.32736ms
[DEBUG] 20:01:50.745 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.745 shell.go:Getenv(POSH_CURSOR_LINE) - 7.19µs
[DEBUG] 20:01:50.745 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.745 shell.go:Getenv(POSH_CURSOR_COLUMN) - 3.21µs
[TRACE] 20:01:50.745 shell.go:Flags() - 50ns
[TRACE] 20:01:50.745 shell.go:Flags() - 30ns
[TRACE] 20:01:50.745 shell.go:Shell() - 80ns
[TRACE] 20:01:50.745 shell.go:Shell() - 120ns
[TRACE] 20:01:50.745 shell.go:Flags() - 100ns
[TRACE] 20:01:50.745 shell.go:Flags() - 40ns
[TRACE] 20:01:50.745 shell.go:Flags() - 190ns
[TRACE] 20:01:50.745 shell.go:Pwd() - 140ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.745 segment.go:SetEnabled:512 → Segment: Session
[TRACE] 20:01:50.745 shell.go:Pwd() - 180ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 50ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.745 segment.go:SetEnabled:512 → Segment: Executiontime
[DEBUG] 20:01:50.745 segment.go:SetEnabled:512 → Segment: Path
[TRACE] 20:01:50.745 shell.go:Flags() - 170ns
[TRACE] 20:01:50.745 shell.go:Pwd() - 180ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.745 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 20:01:50.745 shell.go:TemplateCache() - 140ns
[DEBUG] 20:01:50.745 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.745 shell.go:Getenv(SSH_CONNECTION) - 198.652µs
[DEBUG] 20:01:50.745 shell.go:Getenv:399 → NO DATA
[DEBUG] 20:01:50.745 properties.go:GetBool:22 → always_enabled: false
[TRACE] 20:01:50.745 shell.go:Pwd() - 100ns
[TRACE] 20:01:50.745 shell.go:Getenv(SSH_CLIENT) - 5.9µs
[TRACE] 20:01:50.745 shell.go:ExecutionTime() - 150ns
[TRACE] 20:01:50.745 shell.go:Flags() - 180ns
[DEBUG] 20:01:50.745 shell_unix.go:Platform:77 → ubuntu
[TRACE] 20:01:50.745 shell.go:Shell() - 230ns
[DEBUG] 20:01:50.745 properties.go:GetFloat64:34 → threshold: 0.000000
[TRACE] 20:01:50.745 shell.go:Shell() - 60ns
[DEBUG] 20:01:50.745 properties.go:GetString:28 → roundrock
[TRACE] 20:01:50.745 shell.go:Pwd() - 180ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 50ns
[TRACE] 20:01:50.745 shell.go:TemplateCache() - 221ns
[DEBUG] 20:01:50.745 segment.go:SetEnabled:512 → Segment: Root
[DEBUG] 20:01:50.745 properties.go:GetBool:22 → mapped_locations_enabled: true
[DEBUG] 20:01:50.745 properties.go:GetString:28 → 
[DEBUG] 20:01:50.745 properties.go:GetString:28 → 
[TRACE] 20:01:50.745 shell_unix.go:Root() - 470ns
[TRACE] 20:01:50.745 shell.go:TemplateCache() - 170ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 60ns
[DEBUG] 20:01:50.745 properties.go:GetString:28 →  
[DEBUG] 20:01:50.745 properties.go:GetKeyValueMap:46 → mapped_locations: map[]
[TRACE] 20:01:50.745 shell.go:PathSeparator() - 60ns
[TRACE] 20:01:50.745 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 120ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 50ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 30ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 40ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 30ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.746 shell.go:GOOS() - 30ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 40ns
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 50ns
[DEBUG] 20:01:50.746 properties.go:GetString:28 → agnoster_short
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 30ns
[DEBUG] 20:01:50.746 properties.go:GetInt:40 → max_depth: 1
[DEBUG] 20:01:50.746 properties.go:GetString:28 → 
[DEBUG] 20:01:50.746 properties.go:GetBool:22 → hide_root_location: false
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 40ns
[DEBUG] 20:01:50.746 properties.go:GetStringArray:52 → cycle: []
[DEBUG] 20:01:50.746 properties.go:GetString:28 → NO DATA
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 120ns
[DEBUG] 20:01:50.746 properties.go:GetString:28 →  <#011627></>
[DEBUG] 20:01:50.746 properties.go:GetBool:22 → cycle_folder_separator: false
[DEBUG] 20:01:50.746 properties.go:GetString:28 → %s
[DEBUG] 20:01:50.746 properties.go:GetString:28 → %s
[TRACE] 20:01:50.746 shell.go:PathSeparator() - 30ns
[TRACE] 20:01:50.746 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.746 shell_unix.go:IsWsl:35 → true
[TRACE] 20:01:50.746 shell_unix.go:IsWsl() - 3.99µs
[DEBUG] 20:01:50.746 shell.go:RunCommand:594 → NO DATA
[TRACE] 20:01:50.746 shell.go:RunCommand(who am i) - 1.262397ms
[DEBUG] 20:01:50.746 shell.go:RunCommand:594 → //wsl.localhost/Ubuntu/root/src/NIPC
[TRACE] 20:01:50.746 shell.go:RunCommand(wslpath -m /root/src/NIPC) - 667.63µs
[TRACE] 20:01:50.746 shell.go:StackCount() - 90ns
[TRACE] 20:01:50.746 shell_unix.go:DirIsWritable(/root/src/NIPC) - 5.02µs
[TRACE] 20:01:50.746 shell.go:TemplateCache() - 210ns
[TRACE] 20:01:50.746 shell.go:TemplateCache() - 140ns
[DEBUG] 20:01:50.746 text.go:Render:70 → Rendering template:  {{ .FormattedMs }}
[TRACE] 20:01:50.747 shell.go:TemplateCache() - 160ns
[TRACE] 20:01:50.747 shell.go:Shell() - 100ns
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: 
[TRACE] 20:01:50.747 shell.go:Shell() - 100ns
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: 輦
[TRACE] 20:01:50.747 shell.go:Shell() - 60ns
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template:  {{ .UserName }}@{{ .HostName }}
[TRACE] 20:01:50.747 shell.go:TemplateCache() - 120ns
[TRACE] 20:01:50.747 shell.go:Shell() - 80ns
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: {{ path .Path .Location }}{{ if not .Writable }} {{ end }}
[TRACE] 20:01:50.747 shell.go:TemplateCache() - 360ns
[TRACE] 20:01:50.747 shell.go:Shell() - 120ns
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.747 text.go:Render:70 → Rendering template: diamond
[TRACE] 20:01:50.747 shell.go:Shell() - 70ns
[TRACE] 20:01:50.747 shell.go:Shell() - 30ns
[TRACE] 20:01:50.747 shell.go:Shell() - 50ns
[TRACE] 20:01:50.747 shell.go:Shell() - 30ns
[TRACE] 20:01:50.747 shell.go:Flags() - 50ns
[TRACE] 20:01:50.747 shell.go:Pwd() - 110ns
[TRACE] 20:01:50.747 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.747 segment.go:SetEnabled:512 → Segment: Time
[DEBUG] 20:01:50.747 properties.go:GetString:28 →  Mon 03:04:05 PM 02/01/2006
[TRACE] 20:01:50.747 shell.go:TemplateCache() - 120ns
[TRACE] 20:01:50.747 shell.go:Flags() - 60ns
[TRACE] 20:01:50.747 shell.go:Pwd() - 50ns
[TRACE] 20:01:50.747 shell.go:GOOS() - 60ns
[DEBUG] 20:01:50.747 segment.go:SetEnabled:512 → Segment: Git
[DEBUG] 20:01:50.747 shell_unix.go:IsWsl:35 → true
[TRACE] 20:01:50.747 shell_unix.go:IsWsl() - 3.4µs
[DEBUG] 20:01:50.747 shell.go:FileContent:538 ↓
    5.15.133.1-microsoft-standard-WSL2

[TRACE] 20:01:50.747 shell.go:FileContent(/proc/sys/kernel/osrelease) - 89.661µs
[TRACE] 20:01:50.747 shell_unix.go:IsWsl2() - 101.231µs
[TRACE] 20:01:50.747 shell.go:Pwd() - 100ns
[TRACE] 20:01:50.748 shell.go:Flags() - 180ns
[TRACE] 20:01:50.748 shell.go:Pwd() - 90ns
[TRACE] 20:01:50.748 shell.go:GOOS() - 70ns
[DEBUG] 20:01:50.748 segment.go:SetEnabled:512 → Segment: Node
[DEBUG] 20:01:50.748 properties.go:GetStringArray:52 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .npmrc .vue]
[DEBUG] 20:01:50.748 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.748 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.748 shell.go:Pwd() - 190ns
[DEBUG] 20:01:50.748 properties.go:GetString:28 → files
[DEBUG] 20:01:50.748 properties.go:GetBool:22 → fetch_package_manager: true
[TRACE] 20:01:50.748 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(yarn.lock) - 133.221µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(package-lock.json) - 32.11µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(package.json) - 22.18µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(*.js) - 21.921µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(*.ts) - 20.76µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(package.json) - 19.57µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(.nvmrc) - 19.34µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(pnpm-workspace.yaml) - 19.88µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 40ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(.pnpmfile.cjs) - 29.77µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(.npmrc) - 21.13µs
[TRACE] 20:01:50.748 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.748 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.748 shell.go:HasFiles(.vue) - 19.19µs
[TRACE] 20:01:50.748 shell.go:Flags() - 50ns
[DEBUG] 20:01:50.748 properties.go:GetString:28 → environment
[TRACE] 20:01:50.748 shell.go:Pwd() - 110ns
[TRACE] 20:01:50.748 shell.go:GOOS() - 40ns
[DEBUG] 20:01:50.748 segment.go:SetEnabled:512 → Segment: Python
[DEBUG] 20:01:50.748 properties.go:GetStringArray:52 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 20:01:50.748 properties.go:GetStringArray:52 → folders: [.venv venv virtualenv venv-win pyenv-win]
[DEBUG] 20:01:50.748 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.748 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.748 properties.go:GetBool:22 → fetch_virtual_env: true
[TRACE] 20:01:50.760 shell.go:Flags() - 310ns
[TRACE] 20:01:50.760 shell.go:Pwd() - 190ns
[TRACE] 20:01:50.760 shell.go:GOOS() - 130ns
[DEBUG] 20:01:50.760 segment.go:SetEnabled:512 → Segment: Azfunc
[DEBUG] 20:01:50.760 properties.go:GetStringArray:52 → extensions: [host.json local.settings.json function.json]
[DEBUG] 20:01:50.760 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.760 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.760 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.760 properties.go:GetString:28 → files
[TRACE] 20:01:50.760 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(host.json) - 62.251µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(local.settings.json) - 74.6µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(function.json) - 26.481µs
[TRACE] 20:01:50.760 shell.go:Flags() - 110ns
[DEBUG] 20:01:50.760 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.760 shell.go:Getenv(JAVA_HOME) - 3.54µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 70ns
[TRACE] 20:01:50.760 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.760 segment.go:SetEnabled:512 → Segment: Java
[DEBUG] 20:01:50.760 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] 20:01:50.760 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.760 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.760 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.760 properties.go:GetString:28 → files
[TRACE] 20:01:50.760 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(pom.xml) - 76.581µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(build.gradle.kts) - 21.26µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(build.sbt) - 20.57µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(.java-version) - 25.4µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(.deps.edn) - 73.441µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(project.clj) - 22.12µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(build.boot) - 19.28µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(*.java) - 21.53µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(*.class) - 21.86µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 40ns
[DEBUG] 20:01:50.760 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.760 shell.go:HasFiles(*.gradle) - 22.091µs
[TRACE] 20:01:50.760 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.jar) - 66.76µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.clj) - 31.59µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.cljc) - 22.601µs
[TRACE] 20:01:50.761 shell.go:Flags() - 110ns
[TRACE] 20:01:50.761 shell.go:Pwd() - 80ns
[TRACE] 20:01:50.761 shell.go:GOOS() - 80ns
[DEBUG] 20:01:50.761 segment.go:SetEnabled:512 → Segment: Php
[DEBUG] 20:01:50.761 properties.go:GetStringArray:52 → extensions: [*.php composer.json composer.lock .php-version blade.php]
[DEBUG] 20:01:50.761 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.761 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.761 shell.go:Pwd() - 40ns
[DEBUG] 20:01:50.761 properties.go:GetString:28 → files
[TRACE] 20:01:50.761 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.php) - 73.61µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(composer.json) - 26.701µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(composer.lock) - 69.42µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(.php-version) - 25.54µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(blade.php) - 87.241µs
[TRACE] 20:01:50.761 shell.go:Flags() - 110ns
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[TRACE] 20:01:50.761 shell.go:GOOS() - 60ns
[DEBUG] 20:01:50.761 segment.go:SetEnabled:512 → Segment: Dotnet
[DEBUG] 20:01:50.761 properties.go:GetStringArray:52 → extensions: [*.cs *.csx *.vb *.sln *.slnf *.csproj *.vbproj *.fs *.fsx *.fsproj global.json]
[DEBUG] 20:01:50.761 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.761 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.761 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.761 properties.go:GetString:28 → files
[TRACE] 20:01:50.761 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.cs) - 31.141µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 150ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.csx) - 33.21µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.vb) - 23.37µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.sln) - 21.691µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.slnf) - 75.24µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.csproj) - 24.04µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.vbproj) - 23.101µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.fs) - 63.24µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.fsx) - 33.82µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(*.fsproj) - 22.691µs
[TRACE] 20:01:50.761 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.761 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.761 shell.go:HasFiles(global.json) - 19.43µs
[TRACE] 20:01:50.761 shell.go:Flags() - 110ns
[TRACE] 20:01:50.761 shell.go:Pwd() - 110ns
[TRACE] 20:01:50.761 shell.go:GOOS() - 110ns
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Go
[DEBUG] 20:01:50.787 properties.go:GetStringArray:52 → extensions: [*.go go.mod]
[DEBUG] 20:01:50.787 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.787 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.787 shell.go:Pwd() - 170ns
[DEBUG] 20:01:50.787 properties.go:GetString:28 → files
[TRACE] 20:01:50.787 shell.go:Pwd() - 80ns
[TRACE] 20:01:50.787 shell.go:Flags() - 180ns
[TRACE] 20:01:50.787 shell.go:Flags() - 180ns
[TRACE] 20:01:50.787 shell.go:Pwd() - 120ns
[TRACE] 20:01:50.787 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Text
[DEBUG] 20:01:50.787 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.787 shell.go:Pwd() - 170ns
[TRACE] 20:01:50.787 shell.go:TemplateCache() - 230ns
[TRACE] 20:01:50.787 shell.go:HasFiles(*.go) - 46.921µs
[TRACE] 20:01:50.787 shell.go:GOOS() - 60ns
[TRACE] 20:01:50.787 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Kubectl
[TRACE] 20:01:50.787 shell.go:Flags() - 170ns
[DEBUG] 20:01:50.787 properties.go:GetBool:22 → parse_kubeconfig: false
[DEBUG] 20:01:50.787 properties.go:GetString:28 → {{ .Code }}
[TRACE] 20:01:50.787 shell.go:Flags() - 180ns
[TRACE] 20:01:50.787 shell.go:Pwd() - 80ns
[TRACE] 20:01:50.787 shell.go:GOOS() - 30ns
[DEBUG] 20:01:50.787 shell.go:HasFiles:465 → false
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Status
[TRACE] 20:01:50.787 shell.go:HasFiles(go.mod) - 29.24µs
[TRACE] 20:01:50.787 shell.go:Pwd() - 160ns
[TRACE] 20:01:50.787 shell.go:StatusCodes() - 90ns
[TRACE] 20:01:50.787 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.787 text.go:Render:70 → Rendering template: {{ .Code }}
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Os
[TRACE] 20:01:50.787 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.787 shell_unix.go:Platform:77 → ubuntu
[DEBUG] 20:01:50.787 properties.go:GetBool:22 → display_distro_name: false
[DEBUG] 20:01:50.787 properties.go:GetString:28 → 
[TRACE] 20:01:50.787 shell.go:TemplateCache() - 190ns
[TRACE] 20:01:50.787 shell.go:Flags() - 180ns
[TRACE] 20:01:50.787 shell.go:Flags() - 230ns
[DEBUG] 20:01:50.787 properties.go:GetInt:40 → precision: 2
[TRACE] 20:01:50.787 shell.go:Pwd() - 80ns
[TRACE] 20:01:50.787 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Ytm
[DEBUG] 20:01:50.787 properties.go:GetString:28 → http://127.0.0.1:9863
[DEBUG] 20:01:50.787 properties.go:GetInt:40 → api_url: 20
[TRACE] 20:01:50.787 shell.go:Flags() - 220ns
[TRACE] 20:01:50.787 shell.go:Pwd() - 170ns
[DEBUG] 20:01:50.787 shell.go:RunCommand:594 → //wsl.localhost/Ubuntu/root/src/NIPC
[TRACE] 20:01:50.787 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.787 shell.go:RunCommand(wslpath -m /root/src/NIPC) - 40.234925ms
[DEBUG] 20:01:50.787 segment.go:SetEnabled:512 → Segment: Shell
[TRACE] 20:01:50.787 shell.go:GOOS() - 40ns
[DEBUG] 20:01:50.787 properties.go:GetKeyValueMap:46 → mapped_shell_names: map[]
[TRACE] 20:01:50.788 shell.go:Shell() - 160ns
[TRACE] 20:01:50.788 shell.go:Flags() - 70ns
[DEBUG] 20:01:50.788 shell.go:CommandPath:615 → /usr/bin/git
[TRACE] 20:01:50.788 shell.go:TemplateCache() - 211ns
[TRACE] 20:01:50.788 shell.go:CommandPath(git) - 25.23µs
[TRACE] 20:01:50.788 shell.go:HasCommand(git) - 29.04µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 100ns
[TRACE] 20:01:50.788 shell.go:HasParentFilePath(.git) - 36.4µs
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → exclude_folders: []
[TRACE] 20:01:50.788 shell.go:GOOS() - 40ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 30ns
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → fetch_user: false
[TRACE] 20:01:50.788 shell.go:GOOS() - 50ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 70ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 60ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 50ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 30ns
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(POSH_GIT_STATUS) - 3.63µs
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → fetch_status: true
[TRACE] 20:01:50.788 shell.go:Flags() - 180ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 200ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 80ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Aws
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → display_default: true
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_VAULT) - 2.9µs
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_DEFAULT_PROFILE) - 2.44µs
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_PROFILE) - 3.85µs
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_REGION) - 2.58µs
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_DEFAULT_REGION) - 2.58µs
[DEBUG] 20:01:50.788 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.788 shell.go:Getenv(AWS_CONFIG_FILE) - 2.48µs
[ERROR] 20:01:50.788 shell.go:FileContent:534 → open /root/.aws/config: no such file or directory
[TRACE] 20:01:50.788 shell.go:FileContent(/root/.aws/config) - 11.88µs
[TRACE] 20:01:50.788 shell.go:TemplateCache() - 300ns
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → always_enabled: true
[TRACE] 20:01:50.788 shell.go:TemplateCache() - 100ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → ignore_status: []
[TRACE] 20:01:50.788 shell.go:GOOS() - 380ns
[DEBUG] 20:01:50.788 properties.go:GetKeyValueMap:46 → status_formats: map[]
[DEBUG] 20:01:50.788 properties.go:GetKeyValueMap:46 → untracked_modes: map[]
[DEBUG] 20:01:50.788 properties.go:GetKeyValueMap:46 → ignore_submodules: map[]
[TRACE] 20:01:50.788 shell.go:Flags() - 240ns
[TRACE] 20:01:50.788 shell.go:Flags() - 200ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 120ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Nx
[TRACE] 20:01:50.788 shell.go:Pwd() - 110ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [workspace.json nx.json]
[TRACE] 20:01:50.788 shell.go:GOOS() - 70ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: []
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Julia
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [*.jl]
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: []
[TRACE] 20:01:50.788 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:Pwd() - 90ns
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[TRACE] 20:01:50.788 shell.go:Pwd() - 80ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(workspace.json) - 38.87µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(*.jl) - 37.72µs
[TRACE] 20:01:50.788 shell.go:Flags() - 110ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:Pwd() - 90ns
[TRACE] 20:01:50.788 shell.go:HasFiles(nx.json) - 24.56µs
[TRACE] 20:01:50.788 shell.go:GOOS() - 50ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Ruby
[TRACE] 20:01:50.788 shell.go:Flags() - 110ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [*.rb Rakefile Gemfile]
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: []
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:GOOS() - 50ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 110ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Rust
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [*.rs Cargo.toml Cargo.lock]
[TRACE] 20:01:50.788 shell.go:Pwd() - 100ns
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: []
[TRACE] 20:01:50.788 shell.go:Flags() - 180ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(*.rb) - 28.75µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 100ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 60ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 40ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Dart
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [*.dart pubspec.yaml pubspec.yml pubspec.lock]
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: [.dart_tool]
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:HasFiles(Rakefile) - 21.56µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 80ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:Pwd() - 60ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 110ns
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[TRACE] 20:01:50.788 shell.go:Pwd() - 110ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:Pwd() - 190ns
[TRACE] 20:01:50.788 shell.go:HasFiles(Gemfile) - 19.98µs
[TRACE] 20:01:50.788 shell.go:GOOS() - 40ns
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Sysinfo
[TRACE] 20:01:50.788 shell.go:Flags() - 180ns
[TRACE] 20:01:50.788 shell.go:TemplateCache() - 210ns
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[TRACE] 20:01:50.788 shell.go:GOOS() - 30ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[DEBUG] 20:01:50.788 segment.go:SetEnabled:512 → Segment: Angular
[TRACE] 20:01:50.788 shell.go:HasFiles(*.rs) - 28.36µs
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → extensions: [angular.json]
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[TRACE] 20:01:50.788 shell.go:HasFiles(*.dart) - 43.24µs
[DEBUG] 20:01:50.788 properties.go:GetStringArray:52 → folders: []
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.788 properties.go:GetBool:22 → home_enabled: false
[TRACE] 20:01:50.788 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.788 properties.go:GetString:28 → files
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(Cargo.toml) - 20.63µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 50ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(pubspec.yaml) - 23.831µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 70ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(Cargo.lock) - 19.86µs
[TRACE] 20:01:50.788 shell.go:HasFiles(angular.json) - 21.661µs
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(pubspec.yml) - 23.06µs
[TRACE] 20:01:50.788 shell.go:Pwd() - 60ns
[DEBUG] 20:01:50.788 shell.go:HasFiles:465 → false
[TRACE] 20:01:50.788 shell.go:HasFiles(pubspec.lock) - 20.85µs
[DEBUG] 20:01:50.789 shell.go:HasFolder:508 → false
[TRACE] 20:01:50.789 shell.go:HasFolder(.dart_tool) - 5.23µs
[DEBUG] 20:01:50.789 shell.go:HTTPRequest:714 ↓
    GET /query HTTP/1.1
    Host: 127.0.0.1:9863
    User-Agent: Go-http-client/1.1
    Accept-Encoding: gzip


[ERROR] 20:01:50.790 shell.go:HTTPRequest:718 → Get "http://127.0.0.1:9863/query": dial tcp 127.0.0.1:9863: connect: connection refused
[TRACE] 20:01:50.790 shell.go:HTTPRequest(http://127.0.0.1:9863/query) - 2.143466ms
[DEBUG] 20:01:50.790 shell.go:RunCommand:594 ↓
    # branch.oid 2bef5de6ff89a525a9606db2ede9680d757ba24c
    # branch.head main
    # branch.upstream origin/main
    # branch.ab +0 -0
[TRACE] 20:01:50.790 shell.go:RunCommand(git -C /root/src/NIPC --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 1.756093ms
[DEBUG] 20:01:50.790 properties.go:GetString:28 → 
[DEBUG] 20:01:50.790 properties.go:GetInt:40 → branch_max_length: 0
[DEBUG] 20:01:50.790 shell.go:HasFolder:508 → false
[TRACE] 20:01:50.790 shell.go:HasFolder(/root/src/NIPC/.git/rebase-merge) - 9.85µs
[DEBUG] 20:01:50.790 shell.go:HasFolder:508 → false
[TRACE] 20:01:50.790 shell.go:HasFolder(/root/src/NIPC/.git/rebase-apply) - 8.541µs
[DEBUG] 20:01:50.790 properties.go:GetString:28 → 
[DEBUG] 20:01:50.790 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.790 shell.go:HasFilesInDir(MERGE_MSG) - 16.31µs
[DEBUG] 20:01:50.790 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.790 shell.go:HasFilesInDir(CHERRY_PICK_HEAD) - 5.55µs
[DEBUG] 20:01:50.790 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.790 shell.go:HasFilesInDir(REVERT_HEAD) - 4.93µs
[DEBUG] 20:01:50.790 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.790 shell.go:HasFilesInDir(sequencer/todo) - 5.06µs
[DEBUG] 20:01:50.790 properties.go:GetString:28 → ≡
[DEBUG] 20:01:50.790 properties.go:GetBool:22 → fetch_upstream_icon: true
[DEBUG] 20:01:50.790 properties.go:GetKeyValueMap:46 → upstream_icons: map[]
[DEBUG] 20:01:50.790 properties.go:GetString:28 → 
[TRACE] 20:01:50.790 shell.go:TemplateCache() - 140ns
[ERROR] 20:01:50.832 shell.go:CommandPath:618 → exec: "python": executable file not found in $PATH
[TRACE] 20:01:50.832 shell.go:CommandPath(python) - 83.833825ms
[DEBUG] 20:01:50.832 shell.go:CommandPath:615 → /usr/bin/python3
[TRACE] 20:01:50.832 shell.go:CommandPath(python3) - 31.07µs
[DEBUG] 20:01:50.832 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.832 shell.go:HasFilesInDir(pyvenv.cfg) - 9.78µs
[DEBUG] 20:01:50.832 shell.go:HasFilesInDir:479 → false
[TRACE] 20:01:50.832 shell.go:HasFilesInDir(pyvenv.cfg) - 5.37µs
[DEBUG] 20:01:50.832 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.832 shell.go:Getenv(VIRTUAL_ENV) - 4.07µs
[DEBUG] 20:01:50.832 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.832 shell.go:Getenv(CONDA_ENV_PATH) - 3µs
[DEBUG] 20:01:50.832 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.832 shell.go:Getenv(CONDA_DEFAULT_ENV) - 2.64µs
[ERROR] 20:01:50.850 shell.go:CommandPath:618 → exec: "kubectl": executable file not found in $PATH
[TRACE] 20:01:50.850 shell.go:CommandPath(kubectl) - 62.266901ms
[TRACE] 20:01:50.850 shell.go:HasCommand(kubectl) - 62.272661ms
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{ .CurrentDate | date .Format }}
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{ .UpstreamIcon }}{{ .HEAD }}{{ .BranchStatus }}{{ if .Working.Changed }}  {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }}  {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }}  {{ .StashCount }}{{ end }}
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{ if eq .Code 0 }}{{ else }} {{ reason .Code }}{{ end }}
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{.Icon}}
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{ if .WSL }} {{ else }}{{ end }}
[DEBUG] 20:01:50.851 text.go:Render:70 → Rendering template:  {{ printf "%05.2f" (divf (divf ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 10737418.24) (divf ((.PhysicalTotalMemory)|float64) 1073741824.0)) }}% {{ printf "%05.2f" (divf ((sub .PhysicalTotalMemory .PhysicalFreeMemory)|float64) 1073741824.0) }}/{{ printf "%05.2f" (divf ((.PhysicalTotalMemory)|float64) 1073741824.0) }}GiB
[DEBUG] 20:01:50.850 text.go:Render:70 → Rendering template: {{ .Name }}
[TRACE] 20:01:50.890 shell.go:TemplateCache() - 550ns
[TRACE] 20:01:50.890 shell.go:Shell() - 180ns
[TRACE] 20:01:50.890 shell.go:TemplateCache() - 90ns
[TRACE] 20:01:50.890 shell.go:Shell() - 80ns
[TRACE] 20:01:50.890 shell.go:TemplateCache() - 90ns
[ERROR] 20:01:50.890 shell.go:FileContent:534 → open /root/src/NIPC/.git/logs/refs/stash: no such file or directory
[TRACE] 20:01:50.890 shell.go:FileContent(/root/src/NIPC/.git/logs/refs/stash) - 17.58µs
[TRACE] 20:01:50.890 shell.go:Shell() - 80ns
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 140ns
[TRACE] 20:01:50.891 shell.go:Shell() - 80ns
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 100ns
[TRACE] 20:01:50.891 shell.go:Shell() - 80ns
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 80ns
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 80ns
[TRACE] 20:01:50.891 shell.go:Shell() - 90ns
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 80ns
[TRACE] 20:01:50.891 shell.go:Shell() - 70ns
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}#addb67{{ end }}
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 260ns
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}#f78c6c{{ end }}
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 70ns
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: {{ if gt .Ahead 0 }}#2ea3f1{{ end }}
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 90ns
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: {{ if gt .Behind 0 }}#c792ea{{ end }}
[TRACE] 20:01:50.891 shell.go:TemplateCache() - 100ns
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.891 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[DEBUG] 20:01:50.892 text.go:Render:70 → Rendering template: diamond
[TRACE] 20:01:50.892 shell.go:Shell() - 110ns
[DEBUG] 20:01:50.892 shell_unix.go:TerminalWidth:70 → terminal width: 160
[TRACE] 20:01:50.892 shell_unix.go:TerminalWidth() - 870.396µs
[TRACE] 20:01:50.892 shell.go:Shell() - 110ns
[TRACE] 20:01:50.892 shell.go:Shell() - 50ns
[TRACE] 20:01:50.892 shell.go:Shell() - 30ns
[TRACE] 20:01:50.892 shell.go:Shell() - 40ns
[TRACE] 20:01:50.892 shell.go:Flags() - 100ns
[TRACE] 20:01:50.892 shell.go:Pwd() - 160ns
[TRACE] 20:01:50.893 shell.go:GOOS() - 70ns
[DEBUG] 20:01:50.893 segment.go:SetEnabled:512 → Segment: Text
[TRACE] 20:01:50.893 shell.go:TemplateCache() - 160ns
[DEBUG] 20:01:50.893 text.go:Render:70 → Rendering template: 
[TRACE] 20:01:50.893 shell.go:Shell() - 50ns
[DEBUG] 20:01:50.893 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.893 shell.go:Getenv(TERM_PROGRAM) - 3.4µs
[DEBUG] 20:01:50.893 text.go:Render:70 → Rendering template: {{ if gt .Code 0 }}#ef5350{{ end }}
[TRACE] 20:01:50.893 shell.go:TemplateCache() - 150ns
[DEBUG] 20:01:50.893 text.go:Render:70 → Rendering template: plain
[TRACE] 20:01:50.893 shell.go:Shell() - 60ns
[TRACE] 20:01:50.893 shell.go:Shell() - 60ns
[TRACE] 20:01:50.893 shell.go:Flags() - 40ns
[TRACE] 20:01:50.893 shell.go:Shell() - 40ns
[TRACE] 20:01:50.893 shell.go:Shell() - 70ns
[TRACE] 20:01:50.893 shell.go:Flags() - 40ns
[DEBUG] 20:01:50.893 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.893 shell.go:Getenv(OMP_CACHE_DIR) - 3.04µs
[DEBUG] 20:01:50.893 shell.go:Getenv:399 → NO DATA
[TRACE] 20:01:50.893 shell.go:Getenv(XDG_CACHE_HOME) - 2.53µs
[TRACE] 20:01:50.893 shell_unix.go:CachePath() - 19.82µs
[TRACE] 20:01:50.893 shell.go:Flags() - 40ns
@Talafhah1 Talafhah1 added the 🐛 bug Something isn't working label Jan 3, 2024
@JanDeDobbeleer
Copy link
Owner

JanDeDobbeleer commented Jan 6, 2024

@Talafhah1 I can't reproduce this on zsh 5.9.

image

@Talafhah1
Copy link
Author

Talafhah1 commented Jan 6, 2024

im on zsh 5.8.1 (x86_64-ubuntu-linux-gnu), through wsl
ill see if i can upgrade but i doubt it

@JanDeDobbeleer
Copy link
Owner

JanDeDobbeleer commented Jan 6, 2024

@Talafhah1 5.8.1 is almost 2 years old.

@Talafhah1
Copy link
Author

when i installed wsl i went with ubuntu 22 lts without thinking about it, currently in the process of upgrading to 23

@Talafhah1
Copy link
Author

issue persists after upgrade

5.15.133.1-microsoft-standard-WSL2
PRETTY_NAME="Ubuntu 23.04"
zsh 5.9 (x86_64-ubuntu-linux-gnu)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants