JanDeDobbeleer / oh-my-posh

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

Change directory using fish alt-left and alt-right does not update prompt path #5567

Closed rocketraman closed 2 months ago

rocketraman commented 2 months ago

Code of Conduct

What happened?

I use the fish Alt+← and Alt+→ commands to navigate my directory history -- these are bound to the prevd and nextd commands.

However, when using Alt+← and Alt+→ oh-my-posh prompt does not update. When using the prevd and nextd commands, the prompt does update. If I type in pwd I can see that the directory has in fact changed.

Note that I'm positive this used to work, but I can't say for sure when it broke.

Using oh-my-posh 23.10.1 and fish version 3.7.0.

Theme

jandedobbeleer.omp.json (lightly customized to add tooltips and a couple of segments)

What OS are you seeing the problem on?

Linux

Which shell are you using?

fish

Log output

Version: 23.10.1

Shell: fish (3.7.0)

Prompt:

 raman    oh-my-posh   rg/theme ≢   unix:///run/user/1000/podman/podman.sock   0ms⠀   

Segments:

ConsoleTitle(true)                         -   0 ms
Session(true)                              -   3 ms
Path(true)                                 -   0 ms
Git(true)                                  -   6 ms
Docker(true)                               -   0 ms
Executiontime(true)                        -   0 ms
Status(true)                               -   0 ms
Shell(false)                               -   0 ms
Ytm(false)                                 -   0 ms
Battery(false)                             -   0 ms
Time(false)                                -   0 ms

Run duration: 11.898614ms

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

Config path: /home/raman/source_ext/oh-my-posh/themes/jandedobbeleer.omp.json

Logs:

[DEBUG] 22:00:38.976 debug.go:42 → debug mode enabled
[DEBUG] 22:00:38.976 debug.go:42 → plain mode enabled
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(LOCALAPPDATA) - 8.109µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(OMP_CACHE_DIR) - 2.135µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(XDG_CACHE_HOME) - 1.151µs
[TRACE] 22:00:38.976 terminal.go:CachePath() - 29.742µs
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache file: /home/raman/.cache/oh-my-posh/omp.cache
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache key: upgrade_check
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache key: environment_platform
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache key: is_wsl
[TRACE] 22:00:38.976 terminal.go(/home/raman/.cache/oh-my-posh/omp.cache) - 51.514µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(LOCALAPPDATA) - 1.247µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(OMP_CACHE_DIR) - 1.101µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(XDG_CACHE_HOME) - 1.015µs
[TRACE] 22:00:38.976 terminal.go:CachePath() - 11.497µs
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache file: /home/raman/.cache/oh-my-posh/omp.cache.2876606
[DEBUG] 22:00:38.976 terminal.go:70 → loading cache key: prompt_count_cache
[TRACE] 22:00:38.976 terminal.go(/home/raman/.cache/oh-my-posh/omp.cache.2876606) - 13.214µs
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → /home/raman/source_ext/oh-my-posh/themes/jandedobbeleer.omp.json
[TRACE] 22:00:38.976 terminal.go:Getenv(POSH_THEME) - 2.108µs
[DEBUG] 22:00:38.976 terminal.go:ResolveConfigPath:97 → config set using POSH_THEME: /home/raman/source_ext/oh-my-posh/themes/jandedobbeleer.omp.json
[TRACE] 22:00:38.976 terminal.go:ResolveConfigPath() - 6.785µs
[TRACE] 22:00:38.976 terminal.go:SetPromptCount() - 547ns
[TRACE] 22:00:38.976 terminal.go:Init() - 181.982µs
[TRACE] 22:00:38.976 terminal.go:Flags() - 82ns
[TRACE] 22:00:38.976 load.go:loadConfig() - 507.872µs
[TRACE] 22:00:38.976 terminal.go:Flags() - 45ns
[DEBUG] 22:00:38.976 debug.go:50 → terminal program: Unknown
[DEBUG] 22:00:38.976 debug.go:50 → terminal shell: shell
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.976 terminal.go:Getenv(OMP_CACHE_DISABLED) - 2.381µs
[TRACE] 22:00:38.976 terminal.go:Shell() - 199ns
[DEBUG] 22:00:38.976 terminal.go:Getenv:165 → 3.7.0
[TRACE] 22:00:38.976 terminal.go:Getenv(POSH_SHELL_VERSION) - 3.939µs
[DEBUG] 22:00:38.976 debug.go:PrintDebug:23 → segment: Title
[DEBUG] 22:00:38.976 text.go:Render:80 → rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 22:00:38.976 terminal.go:Flags() - 14ns
[TRACE] 22:00:38.977 terminal_unix.go:Root() - 374ns
[TRACE] 22:00:38.977 terminal.go:Shell() - 76ns
[TRACE] 22:00:38.977 terminal.go:StatusCodes() - 51ns
[DEBUG] 22:00:38.977 terminal_unix.go:IsWsl:35 → false
[TRACE] 22:00:38.977 terminal_unix.go:IsWsl() - 6.788µs
[DEBUG] 22:00:38.977 terminal.go:TemplateCache:652 → environment: [PWD=/home/raman/source_ext/oh-my-posh SSH_AUTH_SOCK=/tmp/ssh-XXXXXXy0pPye/agent.9772 LOGNAME=raman POWERLINE_COMMAND=oh-my-posh SHLVL=1 MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core BASH_ENV=/usr/share/lmod/lmod/init/bash DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus ANDROID_HOME=/home/raman/opt/android-sdk-linux DESKTOP_SESSION=plasma COLORFGBG=15;0 DOCKER_HOST=unix:///run/user/1000/podman/podman.sock EDITOR=/usr/bin/nano GTK_RC_FILES=/etc/gtk/gtkrc:/home/raman/.gtkrc:/home/raman/.config/gtkrc GUESTFISH_OUTPUT=\e[0m GUESTFISH_PS1=\[\e[1;32m\]><fs>\[\e[0;31m\]  FPATH=/usr/share/lmod/lmod/init/ksh_funcs HISTSIZE=1000 HOME=/home/raman HOSTNAME=edison JOURNAL_STREAM=9:15302 KDE_SESSION_VERSION=6 SDKMAN_CANDIDATES_DIR=/home/raman/.sdkman/candidates KOTLIN_HOME=/home/raman/.sdkman/candidates/kotlin/current HISTCONTROL=ignoredups KSCRIPT_HOME=/home/raman/.sdkman/candidates/kscript/current LANG=en_CA.UTF-8 DOTNET_BUNDLE_EXTRACT_BASE_DIR=/home/raman/.cache/dotnet_bundle_extract LANGUAGE=en_US KDE_APPLICATIONS_AS_SCOPE=1 LESSOPEN=||/usr/bin/lesspipe.sh %s LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod OMF_PATH=/home/raman/.local/share/omf __MISE_WATCH=eAF1zi0OwkAQhmEMEjS6QXcDJS3cgQugNpNhlt1kf0iH1GGKhxMgcYhi6rgCllRzEUJdk+K+fOLJW96UscSnZip0cCRycOBFjMErsxPOMAlsd3wIzpYVE7Jk45Ek7QPql7pu0ocHH7p3hNHl2SFtQLCCNeTUun1WM373WJP18Vx3rF/X36BmWPcgg1H6uZMvZAG51MC6SjJIZtl2uUoJ1CKbfwG9921O SHELL_SESSION_ID=c13f8a15705f4606ba89f5a5ad61440f XKB_DEFAULT_MODEL=logiultraxc ICEAUTHORITY=/run/user/1000/iceauth_oSgZeZ PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket WINDOWID=0 PATH=/home/raman/.local/share/mise/installs/java/17/bin:/home/raman/.local/share/mise/installs/node/20/bin:/opt/jdk17/bin:/home/raman/.pyenv/libexec/pyenv:/home/raman/.pyenv/libexec:/home/raman/.pyenv/shims:/home/raman/.pyenv/bin:/home/raman/bin:/home/linuxbrew/.linuxbrew/sbin:/home/linuxbrew/.linuxbrew/bin:/home/raman/.npm-packages/bin:/home/raman/opt/go/bin:/home/raman/opt/android-sdk-linux/platform-tools:/opt/bin:/home/raman/opt/bin:/home/raman/.sdkman/candidates/kscript/current/bin:/home/raman/.sdkman/candidates/kotlin/current/bin:/home/raman/.pyenv/libexec/pyenv:/home/raman/.pyenv/libexec:/home/raman/.pyenv/shims:/home/raman/.pyenv/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/raman/.dotnet/tools:/home/raman/.local/share/JetBrains/Toolbox/scripts:/home/raman/.linuxbrew/bin:/home/raman/.linuxbrew/sbin:/home/raman/.linuxbrew/bin:/home/raman/.linuxbrew/sbin:/home/raman/.local/bin:/home/raman/bin:/home/raman/.cargo/bin XDG_RUNTIME_DIR=/run/user/1000 _VIRTUALENVWRAPPER_API= mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv wipeenv allvirtualenv KONSOLE_DBUS_SERVICE=:1.64 LS_COLORS= INVOCATION_ID=673a40ae5d1946e297f2509c0574de2c KONSOLE_VERSION=240800 XDG_SESSION_CLASS=user LMOD_DIR=/usr/share/lmod/lmod/libexec SYSTEMD_EXEC_PID=6831 XKB_DEFAULT_OPTIONS=compose:ralt XDG_SEAT=seat0 KONSOLE_DBUS_SESSION=/Sessions/27 WAYLAND_DISPLAY=wayland-0 SHELL=/usr/bin/fish LMOD_PKG=/usr/share/lmod/lmod SDKMAN_ENV= LMOD_sys=Linux SDKMAN_DIR=/home/raman/.sdkman MANAGERPID=2732 SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/6147,unix/unix:/tmp/.ICE-unix/6147 QT_WAYLAND_RECONNECT=1 DISPLAY=:1 MAIL=/var/spool/mail/raman CONDA_PROMPT_MODIFIER=false LMOD_ROOT=/usr/share/lmod QT_WAYLAND_DECORATION=adwaita __MISE_DIFF=eAGVy7EJg0AUBuCN7jfXpLYIhEBIlza8xAd34d078URbxQ1cQRtHchtxAx3gG6YoRTcpt/3yyN/55/563lYLFwOjokAKI/FHguSoYgSfGF5TTSIJf2oIl6vJjJ1Lqt14VuLr9bDRWDBstpsN8bNEEQ GTK2_RC_FILES=/home/raman/.gtkrc-2.0-kde4 __MISE_ORIG_PATH=/opt/jdk17/bin:/home/raman/.pyenv/libexec/pyenv:/home/raman/.pyenv/libexec:/home/raman/.pyenv/shims:/home/raman/.pyenv/bin:/home/raman/bin:/home/linuxbrew/.linuxbrew/sbin:/home/linuxbrew/.linuxbrew/bin:/home/raman/.npm-packages/bin:/home/raman/opt/go/bin:/home/raman/opt/android-sdk-linux/platform-tools:/opt/bin:/home/raman/opt/bin:/home/raman/.sdkman/candidates/kscript/current/bin:/home/raman/.sdkman/candidates/kotlin/current/bin:/home/raman/.pyenv/libexec/pyenv:/home/raman/.pyenv/libexec:/home/raman/.pyenv/shims:/home/raman/.pyenv/bin:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/raman/.dotnet/tools:/home/raman/.local/share/JetBrains/Toolbox/scripts:/home/raman/.linuxbrew/bin:/home/raman/.linuxbrew/sbin:/home/raman/.linuxbrew/bin:/home/raman/.linuxbrew/sbin:/home/raman/.local/bin:/home/raman/bin:/home/raman/.cargo/bin SSH_AGENT_PID=9773 XDG_MENU_PREFIX=plasma- MISE_SHELL=fish PROFILEHOME= SDKMAN_CANDIDATES_API=https://api.sdkman.io/2 USER=raman JAVA_HOME=/home/raman/.local/share/mise/installs/java/17.0.2 POSH_PID=2876606 GUESTFISH_INIT=\e[1;34m QTDIR=/usr/lib64/qt-3.3 POSH_SHELL_VERSION=3.7.0 QT_AUTO_SCREEN_SCALE_FACTOR=0 POSH_THEME=/home/raman/source_ext/oh-my-posh/themes/jandedobbeleer.omp.json GDK_CORE_DEVICE_EVENTS=1 QTINC=/usr/lib64/qt-3.3/include XDG_DATA_DIRS=/home/linuxbrew/.linuxbrew/share:/home/linuxbrew/.linuxbrew/share:/home/raman/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share SDKMAN_OFFLINE_MODE= MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake@autostart.service/memory.pressure XDG_SESSION_DESKTOP=KDE MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= MODULESHOME=/usr/share/lmod/lmod XDG_SESSION_ID=3 SDKMAN_PLATFORM=linuxx64 XAUTHORITY=/run/user/1000/xauth_COBcuS MOZ_GMP_PATH=/usr/lib64/mozilla/plugins/gmp-gmpopenh264/system-installed SSH_ASKPASS=/usr/bin/ksshaskpass PYENV_SHELL=fish XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0 MANPATH=/usr/share/lmod/lmod/share/man: LMOD_SETTARG_FULL_SUPPORT=no XDG_CURRENT_DESKTOP=KDE MODULEPATH_ROOT=/usr/share/modulefiles DOTNET_ROOT=/usr/lib64/dotnet XKB_DEFAULT_LAYOUT=us INFOPATH=/home/raman/.linuxbrew/share/info XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session1 COLORTERM=truecolor QTLIB=/usr/lib64/qt-3.3/lib LMOD_VERSION=8.7.37 DEBUGINFOD_URLS=https://debuginfod.fedoraproject.org/  XDG_SESSION_TYPE=wayland XDG_VTNR=1 KDE_FULL_SESSION=true XDG_CONFIG_DIRS=/home/raman/.config/kdedefaults:/etc/xdg:/usr/share/kde-settings/kde-profile/default/xdg VIRTUALENVWRAPPER_SCRIPT=/usr/bin/virtualenvwrapper.sh BUILDAH_FORMAT=docker GUESTFISH_RESTORE=\e[0m fish_complete_path=/home/raman/.config/fish/completions /home/raman/.local/share/omf/pkg/omf/completions /home/raman/.local/share/omf/pkg/pyenv/completions /etc/fish/completions /home/raman/.local/share/fish/vendor_completions.d /home/raman/.local/share/flatpak/exports/share/fish/vendor_completions.d /var/lib/flatpak/exports/share/fish/vendor_completions.d /usr/local/share/fish/vendor_completions.d /usr/share/fish/vendor_completions.d /usr/share/fish/completions /home/raman/.local/share/fish/generated_completions /home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d /home/raman/.local/share/omf/pkg/omf/completions /home/raman/.local/share/omf/pkg/pyenv/completions /usr/share/fish/completions /home/linuxbrew/.linuxbrew/share/fish/vendor_completions.d TERM=xterm-256color KDEDIRS=/usr KDE_SESSION_UID=1000 OMF_CONFIG=/home/raman/.config/omf]
[TRACE] 22:00:38.977 terminal.go:GOOS() - 44ns
[TRACE] 22:00:38.977 terminal.go:PathSeparator() - 2.632µs
[TRACE] 22:00:38.977 terminal.go:GOOS() - 30ns
[DEBUG] 22:00:38.977 terminal.go:Pwd:190 → /home/raman/source_ext/oh-my-posh
[TRACE] 22:00:38.977 terminal.go:Pwd() - 31.249µs
[DEBUG] 22:00:38.977 terminal_unix.go:IsWsl:35 → false
[TRACE] 22:00:38.977 terminal_unix.go:IsWsl() - 2.352µs
[TRACE] 22:00:38.977 terminal.go:GOOS() - 30ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 17ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 14ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 16ns
[DEBUG] 22:00:38.977 terminal.go:User:331 → raman
[TRACE] 22:00:38.977 terminal.go:User() - 1.402µs
[DEBUG] 22:00:38.977 terminal.go:Host:348 → edison
[TRACE] 22:00:38.977 terminal.go:Host() - 3.079µs
[TRACE] 22:00:38.977 terminal.go:GOOS() - 22ns
[DEBUG] 22:00:38.977 terminal_unix.go:Platform:92 → fedora
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → 1
[TRACE] 22:00:38.977 terminal.go:Getenv(SHLVL) - 2.197µs
[TRACE] 22:00:38.977 terminal.go:TemplateCache() - 161.103µs
[TRACE] 22:00:38.977 terminal.go:Shell() - 56ns
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Getenv(POSH_CURSOR_LINE) - 2.113µs
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 1.807µs
[TRACE] 22:00:38.977 terminal.go:Flags() - 64ns
[TRACE] 22:00:38.977 terminal.go:Flags() - 12ns
[TRACE] 22:00:38.977 terminal.go:Flags() - 20ns
[DEBUG] 22:00:38.977 status.go:Init:53 → {{ .Code }}
[TRACE] 22:00:38.977 terminal.go:Pwd() - 55ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 28ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Status
[TRACE] 22:00:38.977 terminal.go:StatusCodes() - 41ns
[DEBUG] 22:00:38.977 text.go:Render:80 → rendering template: {{ .Code }}
[TRACE] 22:00:38.977 terminal.go:Flags() - 21ns
[TRACE] 22:00:38.977 terminal.go:Flags() - 34ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 81ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 29ns
[TRACE] 22:00:38.977 terminal.go:Flags() - 50ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Executiontime
[TRACE] 22:00:38.977 terminal.go:Flags() - 62ns
[DEBUG] 22:00:38.977 executiontime.go:Enabled:57 → always_enabled: true
[TRACE] 22:00:38.977 terminal.go:Flags() - 39ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 78ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 55ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Session
[TRACE] 22:00:38.977 terminal.go:Flags() - 41ns
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Getenv(SSH_CONNECTION) - 2.067µs
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Pwd() - 82ns
[TRACE] 22:00:38.977 terminal.go:Getenv(SSH_CLIENT) - 1.877µs
[TRACE] 22:00:38.977 terminal.go:GOOS() - 24ns
[DEBUG] 22:00:38.977 terminal_unix.go:Platform:92 → fedora
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Aws
[DEBUG] 22:00:38.977 aws.go:Enabled:42 → display_default: false
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Getenv(AWS_VAULT) - 1.8µs
[TRACE] 22:00:38.977 terminal.go:Flags() - 14ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 40ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 13ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Kubectl
[DEBUG] 22:00:38.977 kubectl.go:Enabled:79 → cache_timeout: 0
[DEBUG] 22:00:38.977 kubectl.go:Enabled:93 → parse_kubeconfig: true
[DEBUG] 22:00:38.977 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.977 terminal.go:Getenv(KUBECONFIG) - 1.136µs
[TRACE] 22:00:38.977 terminal.go:Flags() - 88ns
[TRACE] 22:00:38.977 terminal.go:Flags() - 228ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 82ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 26ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Azfunc
[DEBUG] 22:00:38.977 language.go:Enabled:109 → extensions: [host.json local.settings.json function.json]
[DEBUG] 22:00:38.977 language.go:Enabled:110 → folders: []
[DEBUG] 22:00:38.977 language.go:Enabled:117 → home_enabled: false
[TRACE] 22:00:38.977 terminal.go:Pwd() - 40ns
[DEBUG] 22:00:38.977 language.go:Enabled:129 → files
[TRACE] 22:00:38.977 terminal.go:Pwd() - 23ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 164ns
[TRACE] 22:00:38.977 terminal.go:GOOS() - 65ns
[DEBUG] 22:00:38.977 segment.go:SetEnabled:115 → segment: Go
[DEBUG] 22:00:38.977 language.go:Enabled:109 → extensions: [*.go go.mod]
[DEBUG] 22:00:38.977 language.go:Enabled:110 → folders: []
[DEBUG] 22:00:38.977 language.go:Enabled:117 → home_enabled: false
[DEBUG] 22:00:38.977 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.977 terminal.go:HasFilesInDir(host.json) - 61.788µs
[TRACE] 22:00:38.977 terminal.go:Pwd() - 70ns
[TRACE] 22:00:38.977 terminal.go:Pwd() - 33ns
[DEBUG] 22:00:38.977 language.go:Enabled:129 → files
[DEBUG] 22:00:38.977 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.977 terminal.go:HasFilesInDir(local.settings.json) - 5.788µs
[TRACE] 22:00:38.977 terminal.go:Flags() - 132ns
[DEBUG] 22:00:38.978 python.go:Init:61 → files
[TRACE] 22:00:38.978 terminal.go:ExecutionTime() - 83ns
[DEBUG] 22:00:38.978 executiontime.go:Enabled:59 → threshold: 500.000000
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 477ns
[DEBUG] 22:00:38.978 executiontime.go:Enabled:63 → austin
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 199ns
[DEBUG] 22:00:38.978 status.go:Enabled:42 → always_enabled: true
[TRACE] 22:00:38.978 terminal.go:Flags() - 124ns
[TRACE] 22:00:38.978 terminal.go:Flags() - 51ns
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 119ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 369ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 94ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 31ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Path
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 path.go:149 → display_cygpath: false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.go) - 6.499µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 28ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 55ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 16ns
[TRACE] 22:00:38.978 terminal.go:PathSeparator() - 1.31µs
[TRACE] 22:00:38.978 terminal.go:Flags() - 14ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(go.mod) - 5.397µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 1.447µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 383ns
[TRACE] 22:00:38.978 terminal.go:Shell() - 69ns
[TRACE] 22:00:38.978 terminal.go:Shell() - 24ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:GOOS() - 25ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(function.json) - 4.851µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 126ns
[DEBUG] 22:00:38.978 path.go:setMappedLocations:563 → mapped_locations_enabled: true
[DEBUG] 22:00:38.978 path.go:setMappedLocations:564 → 
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Julia
[DEBUG] 22:00:38.978 path.go:setMappedLocations:565 → 
[DEBUG] 22:00:38.978 language.go:Enabled:109 → extensions: [*.jl]
[DEBUG] 22:00:38.978 language.go:Enabled:110 → folders: []
[TRACE] 22:00:38.978 terminal.go:PathSeparator() - 7.219µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[DEBUG] 22:00:38.978 language.go:Enabled:117 → home_enabled: false
[TRACE] 22:00:38.978 terminal.go:Pwd() - 50ns
[DEBUG] 22:00:38.978 language.go:Enabled:129 → files
[TRACE] 22:00:38.978 terminal.go:Pwd() - 24ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.jl) - 4.982µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 86ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 215ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 27ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 26ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Ruby
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Docker
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → NO DATA
[DEBUG] 22:00:38.978 language.go:Enabled:109 → extensions: [*.rb Rakefile Gemfile]
[TRACE] 22:00:38.978 terminal.go:Flags() - 40ns
[TRACE] 22:00:38.978 terminal.go:Getenv(DOCKER_MACHINE_NAME) - 2.476µs
[DEBUG] 22:00:38.978 language.go:Enabled:110 → folders: []
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → unix:///run/user/1000/podman/podman.sock
[DEBUG] 22:00:38.978 language.go:Enabled:117 → home_enabled: false
[TRACE] 22:00:38.978 terminal.go:Getenv(DOCKER_HOST) - 3.16µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 56ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 69ns
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 93ns
[DEBUG] 22:00:38.978 language.go:Enabled:129 → files
[TRACE] 22:00:38.978 terminal.go:GOOS() - 27ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 47ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Node
[TRACE] 22:00:38.978 terminal.go:Pwd() - 34ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 25ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Root
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 language.go:Enabled:109 → extensions: [*.js *.ts package.json .nvmrc pnpm-workspace.yaml .pnpmfile.cjs .vue]
[TRACE] 22:00:38.978 terminal_unix.go:Root() - 298ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.rb) - 4.203�[TRACE] 22:00:38.978 terminal.go:Pwd() - 44ns
[DEBUG] 22:00:38.978 language.go:Enabled:117 → home_enabled: false
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → NO DATA
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:Getenv(AWS_DEFAULT_PROFILE) - 687.351µs
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.978 terminal.go:Getenv(AWS_PROFILE) - 1.133µs
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(Rakefile) - 3.496µs
[TRACE] 22:00:38.978 terminal.go:Getenv(AWS_REGION) - 1.201µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 204ns
[DEBUG] 22:00:38.978 tenminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.978 terminal.go:Getenv(AWS_DEFAULT_REGION) - 2.388µs
[DEBUG] 22:00:38.978 node.go:loadContext:56 → fetch_package_manager: false
[DEBUG] 22:00:38.978 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.978 terminal.go:GOOS() - 14ns
[TRACE] 22:00:38.978 terminal.go:Getenv(AWS_CONFIG_FILE) - 1.426µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 33ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 path.go:setMappedLocations:571 → mapped_locations: map[]
[TRACE] 22:00:38.978 terminal.go:GOOS() - 14ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.js) - 4.499µs
[TRACE] 22:00:38.978 terminal.go:PathSeparator() - 1.271µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 34ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 26ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:PathSeparator() - 1.079µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 12ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.ts) - 5.53µs
[DEBUG] 22:00:38.978 terminal.go:FileContent:302 ↓
    [default]
    region = ca-central-1
    output = json

[TRACE] 22:00:38.978 terminal.go:Pwd() - 46ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 25ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 14ns
[TRACE] 22:00:38.978 terminal.go:FileContent(/home/raman/.aws/config) - 21.189µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 15ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:GOOS() - 65ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(package.json) - 4.952µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 26ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 terminal.go:FileContent:302 ↓
    apiVersion: v1
    clusters: null
    contexts: null
    current-context: gke_xa-1972_us-central1_xascore-gkeap-1
    kind: Config
    preferences: {}
    users: null

[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(.nvmrc) - 4.403µs
[TRACE] 22:00:38.978 terminal.go:FileContent(/home/raman/.kube/config) - 717.507µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 33ns
[DEBUG] 22:00:38.978 path.go:makeFolderFormatMap:839 → NO DATA
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:GOOS() - 13ns
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(pnpm-workspace.yaml) - 3.257µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 38ns
[DEBUG] 22:00:38.978 path.go:setStyle:218 → folder
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 path.go:colorizePath:740 → cycle: []
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(.pnpmfile.cjs) - 3.088µs
[DEBUG] 22:00:38.978 path.go:getFolderSeparator:273 → NO DATA
[TRACE] 22:00:38.978 terminal.go:Pwd() - 33ns
[DEBUG] 22:00:38.978 path.go:getFolderSeparator:275 →   
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 path.go:colorizePath:743 → cycle_folder_separator: false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(.vue) - 2.55µs
[DEBUG] 22:00:38.978 path.go:colorizePath:746 → %s
[TRACE] 22:00:38.978 terminal.go:Pwd() - 43ns
[DEBUG] 22:00:38.978 path.go:colorizePath:747 → %s
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[DEBUG] 22:00:38.978 path.go:colorizePath:748 → %s
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(Gemfile) - 2.841µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 232ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 46ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 25ns
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 63ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 26ns
[TRACE] 22:00:38.978 terminal.go:StackCount() - 38ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Python
[DEBUG] 22:00:38.978 language.go:Enabled:109 → extensions: [*.py *.ipynb pyproject.toml venv.bak]
[DEBUG] 22:00:38.978 language.go:Enabled:110 → folders: [.venv venv virtualenv venv-win pyenv-win]
[TRACE] 22:00:38.978 terminal_unix.go:DirIsWritable(/home/raman/source_ext/oh-my-posh) - 6.398µs
[DEBUG] 22:00:38.978 language.go:Enabled:117 → home_enabled: false
[TRACE] 22:00:38.978 terminal.go:TemplateCache() - 58ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 42ns
[DEBUG] 22:00:38.978 kubectl.go:doParseKubeConfig:151 → display_error: false
[DEBUG] 22:00:38.978 python.go:loadContext:70 → fetch_virtual_env: false
[TRACE] 22:00:38.978 terminal.go:Flags() - 164ns
[TRACE] 22:00:38.978 terminal.go:Pwd() - 33ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:Pwd() - 41ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 33ns
[DEBUG] 22:00:38.978 segment.go:SetEnabled:115 → segment: Git
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.py) - 14.737µs
[DEBUG] 22:00:38.978 terminal_unix.go:IsWsl:35 → false
[TRACE] 22:00:38.978 terminal.go:Pwd() - 114ns
[TRACE] 22:00:38.978 terminal_unix.go:IsWsl() - 2.312µs
[TRACE] 22:00:38.978 terminal_unix.go:IsWsl2() - 5.299µs
[TRACE] 22:00:38.978 terminal.go:GOOS() - 25ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(*.ipynb) - 7.215µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 39ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(pyproject.toml) - 4.709µs
[TRACE] 22:00:38.978 terminal.go:Pwd() - 29ns
[DEBUG] 22:00:38.978 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.978 terminal.go:HasFilesInDir(venv.bak) - 2.872µs
[DEBUG] 22:00:38.978 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.978 terminal.go:HasFolder(.venv) - 4.602µs
[DEBUG] 22:00:38.978 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.978 terminal.go:HasFolder(venv) - 2.333µs
[DEBUG] 22:00:38.978 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.978 terminal.go:HasFolder(virtualenv) - 2.125µs
[DEBUG] 22:00:38.978 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.978 terminal.go:HasFolder(venv-win) - 259.403µs
[DEBUG] 22:00:38.978 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.978 terminal.go:HasFolder(pyenv-win) - 5.346µs
[DEBUG] 22:00:38.978 terminal.go:CommandPath:390 → /usr/bin/git
[TRACE] 22:00:38.978 terminal.go:CommandPath(git) - 423.667µs
[TRACE] 22:00:38.978 terminal.go:HasCommand(git) - 425.874µs
[DEBUG] 22:00:38.978 git.go:shouldDisplay:285 → fetch_bare_info: false
[TRACE] 22:00:38.978 terminal.go:Pwd() - 62ns
[DEBUG] 22:00:38.978 terminal.go:ResolveSymlink:287 → /home/raman/source_ext/oh-my-posh
[TRACE] 22:00:38.978 terminal.go:ResolveSymlink(/home/raman/source_ext/oh-my-posh) - 16.045µs
[TRACE] 22:00:38.978 terminal.go:HasParentFilePath(.git) - 28.25µs
[DEBUG] 22:00:38.978 scm.go:shouldIgnoreRootRepository:150 → exclude_folders: []
[TRACE] 22:00:38.978 terminal.go:GOOS() - 23ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 430ns
[DEBUG] 22:00:38.978 git.go:Enabled:169 → fetch_user: false
[TRACE] 22:00:38.978 terminal.go:GOOS() - 34ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 17ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 15ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 15ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 16ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 17ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 19ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 26ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 19ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 15ns
[TRACE] 22:00:38.978 terminal.go:GOOS() - 19ns
[DEBUG] 22:00:38.978 git.go:Enabled:184 → cli
[DEBUG] 22:00:38.978 git.go:Enabled:189 → fetch_status: true
[DEBUG] 22:00:38.978 git.go:shouldIgnoreStatus:427 → ignore_status: []
[TRACE] 22:00:38.978 terminal.go:GOOS() - 18ns
[DEBUG] 22:00:38.978 git.go:setGitStatus:565 → status_formats: map[]
[DEBUG] 22:00:38.978 git.go:getSwitchMode:864 → untracked_modes: map[]
[DEBUG] 22:00:38.978 git.go:getSwitchMode:864 → ignore_submodules: map[]
[DEBUG] 22:00:38.981 terminal.go:RunCommand:368 → NO DATA
[TRACE] 22:00:38.981 terminal.go:RunCommand(who am i) - 3.72465ms
[TRACE] 22:00:38.981 terminal.go:TemplateCache() - 338ns
[DEBUG] 22:00:38.984 terminal.go:RunCommand:368 ↓
    # branch.oid e0642b6e74fa3677943ff653e2647cfa962e98ea
    # branch.head rg/theme
[TRACE] 22:00:38.984 terminal.go:RunCommand(git -C /home/raman/source_ext/oh-my-posh --no-optional-locks -c core.quotepath=false -c color.status=false status -unormal --branch --porcelain=2) - 5.853605ms
[DEBUG] 22:00:38.984 git.go:setGitHEADContext:624 → 
[DEBUG] 22:00:38.984 scm.go:formatBranch:114 → mapped_branches: map[]
[DEBUG] 22:00:38.984 scm.go:formatBranch:130 → full_branch_path: true
[DEBUG] 22:00:38.984 scm.go:formatBranch:136 → branch_max_length: 25
[DEBUG] 22:00:38.984 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.984 terminal.go:HasFolder(/home/raman/source_ext/oh-my-posh/.git/rebase-merge) - 8.74µs
[DEBUG] 22:00:38.984 terminal.go:HasFolder:272 → false
[TRACE] 22:00:38.984 terminal.go:HasFolder(/home/raman/source_ext/oh-my-posh/.git/rebase-apply) - 2.385µs
[DEBUG] 22:00:38.984 git.go:setGitHEADContext:675 → 
[DEBUG] 22:00:38.984 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.984 terminal.go:HasFilesInDir(MERGE_MSG) - 47.353µs
[DEBUG] 22:00:38.984 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.984 terminal.go:HasFilesInDir(CHERRY_PICK_HEAD) - 3.506µs
[DEBUG] 22:00:38.984 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.984 terminal.go:HasFilesInDir(REVERT_HEAD) - 2.585µs
[DEBUG] 22:00:38.984 terminal.go:HasFilesInDir:243 → false
[TRACE] 22:00:38.984 terminal.go:HasFilesInDir(sequencer/todo) - 2.24µs
[DEBUG] 22:00:38.984 git.go:443 → ≢
[DEBUG] 22:00:38.984 git.go:Enabled:200 → fetch_upstream_icon: true
[DEBUG] 22:00:38.984 git.go:getUpstreamIcon:502 → upstream_icons: map[]
[DEBUG] 22:00:38.984 git.go:getUpstreamIcon:523 →  
[TRACE] 22:00:38.984 terminal.go:TemplateCache() - 294ns
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template: <parentBackground></>  
[TRACE] 22:00:38.984 terminal.go:Flags() - 28ns
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template:    {{ .Path }} 
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template:  {{ .UpstreamIcon }}{{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ 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 }} 
[TRACE] 22:00:38.984 terminal.go:Flags() - 50ns
[TRACE] 22:00:38.984 terminal.go:Flags() - 156ns
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template: <transparent></>  {{ .FormattedMs }}⠀
[TRACE] 22:00:38.984 terminal.go:Flags() - 13ns
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template:   {{ .Context }} 
[TRACE] 22:00:38.984 terminal.go:Flags() - 97ns
[DEBUG] 22:00:38.984 text.go:Render:80 → rendering template:  {{ .UserName }} 
[TRACE] 22:00:38.984 terminal.go:Flags() - 147ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 166ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 125ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 151ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 65ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 255ns
[ERROR] 22:00:38.985 terminal.go:FileContent:298 → open /home/raman/source_ext/oh-my-posh/.git/logs/refs/stash: no such file or directory
[TRACE] 22:00:38.985 terminal.go:FileContent(/home/raman/source_ext/oh-my-posh/.git/logs/refs/stash) - 12.119µs
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 104ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 16ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 13ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 27ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 15ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 14ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 13ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 15ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 13ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: diamond
[TRACE] 22:00:38.985 terminal.go:Flags() - 13ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.985 terminal.go:Flags() - 14ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}
[TRACE] 22:00:38.985 terminal.go:Flags() - 15ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 72ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}
[TRACE] 22:00:38.985 terminal.go:Flags() - 13ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 40ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: {{ if gt .Ahead 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.985 terminal.go:Flags() - 12ns
[TRACE] 22:00:38.985 terminal.go:TemplateCache() - 68ns
[DEBUG] 22:00:38.985 text.go:Render:80 → rendering template: {{ if gt .Behind 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.985 terminal.go:Flags() - 14ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 51ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.986 terminal.go:Flags() - 35ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 24ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 56ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 16ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 43ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if gt .Ahead 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 14ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 46ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if gt .Behind 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 15ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 46ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: powerline
[TRACE] 22:00:38.986 terminal.go:Flags() - 20ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 14ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 41ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 19ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 42ns
[DEBUG] 22:00:38.986 text.go:Render:80 → rendering template: {{ if gt .Ahead 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.986 terminal.go:Flags() - 99ns
[TRACE] 22:00:38.986 terminal.go:TemplateCache() - 355ns
[DEBUG] 22:00:38.987 text.go:Render:80 → rendering template: {{ if gt .Behind 0 }}#B388FF{{ end }}
[TRACE] 22:00:38.987 terminal.go:Flags() - 17ns
[TRACE] 22:00:38.987 terminal.go:TemplateCache() - 167ns
[DEBUG] 22:00:38.987 text.go:Render:80 → rendering template: plain
[TRACE] 22:00:38.987 terminal.go:Flags() - 15ns
[DEBUG] 22:00:38.987 text.go:Render:80 → rendering template: {{ if gt .Code 0 }}#e91e63{{ end }}
[TRACE] 22:00:38.987 terminal.go:Flags() - 17ns
[TRACE] 22:00:38.987 terminal.go:TemplateCache() - 196ns
[DEBUG] 22:00:38.987 text.go:Render:80 → rendering template: diamond
[TRACE] 22:00:38.987 terminal.go:Flags() - 99ns
[DEBUG] 22:00:38.987 text.go:Render:80 → rendering template: {{ if gt .Code 0 }}#e91e63{{ end }}
[TRACE] 22:00:38.987 terminal.go:Flags() - 29ns
[TRACE] 22:00:38.987 terminal.go:TemplateCache() - 183ns
[TRACE] 22:00:38.987 terminal.go:Shell() - 271ns
[TRACE] 22:00:38.987 terminal.go:Shell() - 40ns
[TRACE] 22:00:38.987 terminal.go:Flags() - 27ns
[TRACE] 22:00:38.987 terminal.go:Shell() - 22ns
[DEBUG] 22:00:38.987 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.987 terminal.go:Getenv(LOCALAPPDATA) - 3.786µs
[DEBUG] 22:00:38.987 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.987 terminal.go:Getenv(OMP_CACHE_DIR) - 2.038µs
[DEBUG] 22:00:38.987 terminal.go:Getenv:165 → NO DATA
[TRACE] 22:00:38.987 terminal.go:Getenv(XDG_CACHE_HOME) - 1.989µs
[TRACE] 22:00:38.988 terminal.go:CachePath() - 41.876µs
[TRACE] 22:00:38.988 terminal.go:Flags() - 15ns
lewis-yeung commented 2 months ago

@rocketraman Similar to the example in docs, you can utilize a simple function to achieve this:

function rerender_on_dir_change --on-variable PWD
    omp_repaint_prompt
end
rocketraman commented 2 months ago

@lewis-yeung Thank you, that works perfectly! Interesting that this used to work out of the box, but now requires an explicit function.