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

Oh-My-Posh appears to interfere with Atuin #5781

Open
1 task done
Eloquencere opened this issue Oct 27, 2024 · 2 comments
Open
1 task done

Oh-My-Posh appears to interfere with Atuin #5781

Eloquencere opened this issue Oct 27, 2024 · 2 comments
Assignees
Labels
🐛 bug Something isn't working

Comments

@Eloquencere
Copy link

Code of Conduct

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

What happened?

I use Atuin for an improved command history experience previously with Starship and switched over to Oh My Posh recently for it's transient prompt feature on zsh (which btw starship still doesn't support). Pressing on Atuin used to have the effect of filling out the command to my prompt but seemingly invisible on Oh My Posh, I know this because, on pressing the command indeed does get executed. Does this issue have a workaround?

Theme

A personal config borrowed from Dreams of Code

What OS are you seeing the problem on?

Linux

Which shell are you using?

zsh

Log output

Version: 23.20.3

Shell: zsh (5.9)

Prompt:


~
❯ 

Segments:

ConsoleTitle(true)                         -   0 ms
Path(true)                                 -   0 ms
Executiontime(false)                       -   0 ms
Text(true)                                 -   0 ms

Run duration: 9.502252ms

Cache path: $HOME/.cache/oh-my-posh

Config path: $HOME/.config/ohmyposh/config.toml

Logs:

�[38;2;191;207;240m[DEBUG] �[38;2;156;231;201m09:23:22.624 �[0mdebug.go:49�[38;2;156;231;201m →�[0m debug mode enabled
[DEBUG] 09:23:22.624 debug.go:49 → plain mode enabled
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.624 terminal.go:Getenv(LOCALAPPDATA) - 19.436µs
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.624 terminal.go:Getenv(OMP_CACHE_DIR) - 3.066µs
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → $HOME/.cache
[TRACE] 09:23:22.624 terminal.go:Getenv(XDG_CACHE_HOME) - 12.544µs
[TRACE] 09:23:22.624 terminal.go:CachePath() - 65.874µs
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache file: $HOME/.cache/oh-my-posh/omp.cache
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache key: environment_platform
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache key: is_wsl
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache key: upgrade_check
[TRACE] 09:23:22.624 terminal.go($HOME/.cache/oh-my-posh/omp.cache) - 182.583µs
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.624 terminal.go:Getenv(LOCALAPPDATA) - 3.778µs
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.624 terminal.go:Getenv(OMP_CACHE_DIR) - 3.056µs
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → $HOME/.cache
[TRACE] 09:23:22.624 terminal.go:Getenv(XDG_CACHE_HOME) - 3.627µs
[TRACE] 09:23:22.624 terminal.go:CachePath() - 33.593µs
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache file: $HOME/.cache/oh-my-posh/omp.cache.c3efb2f7-7359-4e72-b744-c3ecf76dd213
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache key: prompt_count_cache
[DEBUG] 09:23:22.624 terminal.go:70 → loading cache key: template_cache
[TRACE] 09:23:22.624 terminal.go($HOME/.cache/oh-my-posh/omp.cache.c3efb2f7-7359-4e72-b744-c3ecf76dd213) - 111.259µs
[TRACE] 09:23:22.624 terminal.go:setPromptCount() - 631ns
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → $HOME/.config/ohmyposh/config.toml
[TRACE] 09:23:22.624 terminal.go:Getenv(POSH_THEME) - 3.977µs
[DEBUG] 09:23:22.624 terminal.go:ResolveConfigPath:96 → config set using POSH_THEME: $HOME/.config/ohmyposh/config.toml
[TRACE] 09:23:22.624 terminal.go:ResolveConfigPath() - 12.594µs
[TRACE] 09:23:22.624 terminal.go:Init() - 588.786µs
[TRACE] 09:23:22.624 terminal.go:Flags() - 50ns
[TRACE] 09:23:22.624 load.go:loadConfig() - 187.883µs
[TRACE] 09:23:22.624 terminal.go:Flags() - 80ns
[DEBUG] 09:23:22.624 debug.go:57 → terminal program: WezTerm
[DEBUG] 09:23:22.624 debug.go:57 → terminal shell: shell
[DEBUG] 09:23:22.624 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.624 terminal.go:Getenv(OMP_CACHE_DISABLED) - 3.436µs
[TRACE] 09:23:22.624 colors.go:SetAccentColor() - 1.402µs
[TRACE] 09:23:22.625 terminal.go:Shell() - 160ns
[DEBUG] 09:23:22.625 terminal.go:Getenv:164 → 5.9
[TRACE] 09:23:22.625 terminal.go:Getenv(POSH_SHELL_VERSION) - 19.567µs
[DEBUG] 09:23:22.625 debug.go:PrintDebug:23 → segment: Title
[DEBUG] 09:23:22.625 text.go:Render:80 → rendering template: {{ .Shell }} in {{ .Folder }}
[TRACE] 09:23:22.625 terminal.go:Flags() - 40ns
[TRACE] 09:23:22.625 terminal_unix.go:Root() - 1.132µs
[TRACE] 09:23:22.625 terminal.go:Shell() - 151ns
[TRACE] 09:23:22.625 terminal.go:StatusCodes() - 151ns
[DEBUG] 09:23:22.625 terminal_unix.go:IsWsl:35 → false
[TRACE] 09:23:22.625 terminal_unix.go:IsWsl() - 5.3µs
[DEBUG] 09:23:22.625 terminal.go:TemplateCache:673 → environment: [CARGO_HOME=$HOME/.local/share/rust/cargo COLORTERM=truecolor CONAN_HOME=$HOME/.local/share/conan CROC_SELF_TRANSFER_ID=srirangarajan.tm DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus DESKTOP_SESSION=ubuntu DISPLAY=:0 DOTFILES_HOME=$HOME/.dotfiles EDITOR=nvim FZF_ALT_C_COMMAND=fd --type=d --hidden --strip-cwd-prefix --exclude .git --color=always FZF_CTRL_T_COMMAND=fd --hidden --strip-cwd-prefix --exclude .git --color=always FZF_DEFAULT_COMMAND=fd --hidden --strip-cwd-prefix --exclude .git --color=always FZF_DEFAULT_OPTS=--ansi GDMSESSION=ubuntu GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/org.wezfurlong.wezterm.desktop GIO_LAUNCHED_DESKTOP_FILE_PID=21811 GJS_DEBUG_OUTPUT=stderr GJS_DEBUG_TOPICS=JS ERROR;JS LOG GNOME_DESKTOP_SESSION_ID=this-is-deprecated GNOME_SETUP_DISPLAY=:1 GNOME_SHELL_SESSION_MODE=ubuntu GSM_SKIP_SSH_AGENT_WORKAROUND=true GTK_MODULES=gail:atk-bridge HOME=$HOME INVOCATION_ID=9af274682b8c44ce9f9dda6ff2be7d6d JOURNAL_STREAM=8:33962 LANG=en_US.UTF-8 LIBRARY_PATH=/usr/lib32: LOGNAME=eloquencer MANAGERPID=4977 MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/user.slice/user-1000.slice/[email protected]/session.slice/[email protected]/memory.pressure MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA= OLDPWD=$HOME PATH=$HOME/.local/share/mise/installs/python/latest/bin:$HOME/.local/share/mise/installs/python/2.7/bin:$HOME/.local/share/mise/installs/go/1.23.2/bin:$HOME/.local/share/mise/installs/go/1.23.2/go/bin:$HOME/.local/share/mise/installs/deno/latest/bin:$HOME/.local/share/mise/installs/deno/latest/.deno/bin:$HOME/.local/share/zinit/polaris/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$HOME/.config/emacs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin PWD=$HOME QT_ACCESSIBILITY=1 QT_IM_MODULE=ibus RUSTC_WRAPPER=$HOME/.local/share/rust/cargo/bin/sccache RUSTUP_HOME=$HOME/.local/share/rust/rustup SERVER_IP=192.168.179.1 SESSION_MANAGER=local/dev-machine:@/tmp/.ICE-unix/5146,unix/dev-machine:/tmp/.ICE-unix/5146 SHELL=/usr/bin/zsh SHLVL=1 SSH_AUTH_SOCK=/run/user/1000/keyring/ssh STARSHIP_CONFIG=$HOME/.config/starship/starship.toml SYSTEMD_EXEC_PID=5188 TERM=xterm-256color TERM_PROGRAM=WezTerm TERM_PROGRAM_VERSION=20240203-110809-5046fc22 TOOLS_HOME=$HOME/Tools USER=eloquencer USERNAME=eloquencer WAYLAND_DISPLAY=wayland-0 WEZTERM_CONFIG_DIR=$HOME/.config/wezterm WEZTERM_CONFIG_FILE=$HOME/.config/wezterm/wezterm.lua WEZTERM_EXECUTABLE=/usr/bin/wezterm-gui WEZTERM_EXECUTABLE_DIR=/usr/bin WEZTERM_PANE=0 WEZTERM_UNIX_SOCKET=/run/user/1000/wezterm/gui-sock-21811 XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.6UY6V2 XDG_CACHE_HOME=$HOME/.cache XDG_CONFIG_HOME=$HOME/.config XDG_CURRENT_DESKTOP=ubuntu:GNOME XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:$HOME/.nix-profile/share:/nix/var/nix/profiles/default/share XDG_DATA_HOME=$HOME/.local/share XDG_MENU_PREFIX=gnome- XDG_RUNTIME_DIR=/run/user/1000 XDG_SESSION_CLASS=user XDG_SESSION_DESKTOP=ubuntu XDG_SESSION_TYPE=wayland XMODIFIERS=@im=ibus ZDOTDIR=$HOME/.config/zsh _=/usr/local/bin/oh-my-posh NIX_PROFILES=/nix/var/nix/profiles/default $HOME/.nix-profile NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt ZPFX=$HOME/.local/share/zinit/polaris ZSH_CACHE_DIR=$HOME/.cache/zinit PMSPEC=0uUpiPsf ATUIN_SESSION=0192cc0e9de67f71b17ee0e35b19d45a POSH_THEME=$HOME/.config/ohmyposh/config.toml POSH_SHELL_VERSION=5.9 POSH_SESSION_ID=c3efb2f7-7359-4e72-b744-c3ecf76dd213 POWERLINE_COMMAND=oh-my-posh CONDA_PROMPT_MODIFIER=false ZLE_RPROMPT_INDENT=0 OSTYPE=linux-gnu MISE_SHELL=zsh __MISE_ORIG_PATH=$HOME/.local/share/zinit/polaris/bin:$HOME/.nix-profile/bin:/nix/var/nix/profiles/default/bin:$HOME/.config/emacs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin GOROOT=$HOME/.local/share/mise/installs/go/1.23.2 GOBIN=$HOME/.local/share/mise/installs/go/1.23.2/bin DENO_INSTALL_ROOT=$HOME/.local/share/mise/installs/deno/2.0.3/.deno __MISE_DIFF=eAGdkc0KgkAUhd9obikR/S2MQgRxoNzLpJcUxhlzJqJd4Dv0Alb7HmfepsZFtNXd3XyXc77TtJJnt1bgpXn5dEdpbCaQyxIBuTydUaRYA+EyZRxUzmqEslAIhVCaca7gKGFMHJc4T5+ug8jMBsFwKMR7s41oEkT72AvDpEuy7PMsQyHBISPiArH3o2I6v5tVnx/VVedSAGcalbahzHwA7pBpxw53YXo1/21g1/iaNIs+oa2r/8beULizbot/AORA3Rw __MISE_WATCH=eAFtzL0NwjAQQOGGCSioQEJ0NHH4S7bBsk7n2JJzBz5IReVB6OgoQsEaSJSZgSWQ0iHSPb3iSzfrA0rqlspxjQoDH89IgFFlwGR9pWovqKDv7MR1SK0giBZPgBoPDO5VTS/vBxni3z3Zb6/d4h8ODCYocSZirw+Js+dnQByN53xHanRjonZGXGuhyPMdrAHKwm7K1RdW7FSU ATUIN_HISTORY_ID=0192cc1b6d9e7787a80d2e78081fe25b]
[TRACE] 09:23:22.625 terminal.go:GOOS() - 170ns
[TRACE] 09:23:22.625 terminal.go:PathSeparator() - 6.082µs
[TRACE] 09:23:22.625 terminal.go:GOOS() - 60ns
[DEBUG] 09:23:22.625 terminal.go:Pwd:189 → $HOME
[TRACE] 09:23:22.625 terminal.go:Pwd() - 60.314µs
[DEBUG] 09:23:22.625 terminal_unix.go:IsWsl:35 → false
[TRACE] 09:23:22.625 terminal_unix.go:IsWsl() - 3.967µs
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.625 terminal.go:GOOS() - 40ns
[DEBUG] 09:23:22.625 terminal.go:User:330 → eloquencer
[TRACE] 09:23:22.625 terminal.go:User() - 10.5µs
[DEBUG] 09:23:22.625 terminal.go:Host:347 → dev-machine
[TRACE] 09:23:22.625 terminal.go:Host() - 5.951µs
[TRACE] 09:23:22.625 terminal.go:GOOS() - 30ns
[DEBUG] 09:23:22.625 terminal_unix.go:Platform:92 → ubuntu
[DEBUG] 09:23:22.625 terminal.go:Getenv:164 → 1
[TRACE] 09:23:22.625 terminal.go:Getenv(SHLVL) - 3.657µs
[TRACE] 09:23:22.625 terminal.go:TemplateCache() - 319.07µs
[TRACE] 09:23:22.625 terminal.go:Shell() - 100ns
[DEBUG] 09:23:22.625 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.625 terminal.go:Getenv(POSH_CURSOR_LINE) - 3.246µs
[DEBUG] 09:23:22.625 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.625 terminal.go:Getenv(POSH_CURSOR_COLUMN) - 5.15µs
[TRACE] 09:23:22.625 terminal.go:Flags() - 70ns
[TRACE] 09:23:22.625 terminal.go:Flags() - 40ns
[TRACE] 09:23:22.626 terminal.go:Flags() - 110ns
[TRACE] 09:23:22.626 terminal.go:Pwd() - 120ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 70ns
[DEBUG] 09:23:22.626 segment.go:SetEnabled:115 → segment: Git
[DEBUG] 09:23:22.626 terminal_unix.go:IsWsl:35 → false
[TRACE] 09:23:22.626 terminal_unix.go:IsWsl() - 4.168µs
[TRACE] 09:23:22.626 terminal_unix.go:IsWsl2() - 7.654µs
[TRACE] 09:23:22.626 terminal.go:GOOS() - 40ns
[TRACE] 09:23:22.626 terminal.go:Flags() - 381ns
[DEBUG] 09:23:22.626 terminal.go:CommandPath:394 → /usr/bin/git
[TRACE] 09:23:22.626 terminal.go:CommandPath(git) - 101.631µs
[TRACE] 09:23:22.626 terminal.go:HasCommand(git) - 105.608µs
[DEBUG] 09:23:22.626 git.go:shouldDisplay:312 → fetch_bare_info: false
[TRACE] 09:23:22.626 terminal.go:Pwd() - 150ns
[DEBUG] 09:23:22.626 terminal.go:ResolveSymlink:286 → $HOME
[TRACE] 09:23:22.626 terminal.go:ResolveSymlink($HOME) - 11.131µs
[TRACE] 09:23:22.626 terminal.go:Pwd() - 301ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[ERROR] 09:23:22.626 terminal.go:HasParentFilePath:558 → stat .git: no such file or directory
[TRACE] 09:23:22.626 terminal.go:HasParentFilePath(.git) - 40.837µs
[DEBUG] 09:23:22.626 segment.go:SetEnabled:115 → segment: Path
[DEBUG] 09:23:22.626 path.go:149 → display_cygpath: false
[TRACE] 09:23:22.626 terminal.go:GOOS() - 101ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:PathSeparator() - 6.402µs
[TRACE] 09:23:22.626 terminal.go:Pwd() - 150ns
[TRACE] 09:23:22.626 terminal.go:Shell() - 180ns
[TRACE] 09:23:22.626 terminal.go:Shell() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 90ns
[DEBUG] 09:23:22.626 path.go:setMappedLocations:563 → mapped_locations_enabled: true
[DEBUG] 09:23:22.626 path.go:setMappedLocations:564 → 
[DEBUG] 09:23:22.626 path.go:setMappedLocations:565 → 
[TRACE] 09:23:22.626 terminal.go:GOOS() - 161ns
[TRACE] 09:23:22.626 terminal.go:PathSeparator() - 163.537µs
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 120ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[DEBUG] 09:23:22.626 path.go:setMappedLocations:566 → ~
[DEBUG] 09:23:22.626 path.go:setMappedLocations:571 → mapped_locations: map[]
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:PathSeparator() - 6.312µs
[TRACE] 09:23:22.626 terminal.go:GOOS() - 90ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 90ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 101ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:PathSeparator() - 5.18µs
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 90ns
[TRACE] 09:23:22.626 terminal.go:Flags() - 141ns
[DEBUG] 09:23:22.626 path.go:colorizePath:740 → cycle: []
[DEBUG] 09:23:22.626 path.go:getFolderSeparator:273 → NO DATA
[DEBUG] 09:23:22.626 path.go:getFolderSeparator:275 → /
[DEBUG] 09:23:22.626 path.go:colorizePath:743 → cycle_folder_separator: false
[DEBUG] 09:23:22.626 path.go:colorizePath:744 → %s
[DEBUG] 09:23:22.626 path.go:colorizePath:746 → %s
[DEBUG] 09:23:22.626 path.go:colorizePath:747 → %s
[DEBUG] 09:23:22.626 path.go:colorizePath:748 → %s
[TRACE] 09:23:22.626 terminal.go:Pwd() - 230ns
[TRACE] 09:23:22.626 terminal.go:TemplateCache() - 461ns
[TRACE] 09:23:22.626 terminal.go:GOOS() - 100ns
[TRACE] 09:23:22.626 terminal.go:StackCount() - 140ns
[TRACE] 09:23:22.626 terminal_unix.go:DirIsWritable($HOME) - 12.193µs
[TRACE] 09:23:22.626 terminal.go:TemplateCache() - 170ns
[DEBUG] 09:23:22.627 text.go:Render:80 → rendering template: {{ .Path }}
[TRACE] 09:23:22.627 terminal.go:Flags() - 190ns
[TRACE] 09:23:22.627 terminal.go:TemplateCache() - 1.172µs
[DEBUG] 09:23:22.627 text.go:Render:80 → rendering template: plain
[TRACE] 09:23:22.627 terminal.go:Flags() - 150ns
[DEBUG] 09:23:22.627 text.go:Render:80 → rendering template: plain
[TRACE] 09:23:22.627 terminal.go:Flags() - 40ns
[TRACE] 09:23:22.628 terminal.go:Shell() - 301ns
[TRACE] 09:23:22.628 terminal.go:Shell() - 50ns
[TRACE] 09:23:22.628 terminal.go:Flags() - 130ns
[TRACE] 09:23:22.628 terminal.go:Pwd() - 171ns
[TRACE] 09:23:22.628 terminal.go:GOOS() - 70ns
[DEBUG] 09:23:22.628 segment.go:SetEnabled:115 → segment: Executiontime
[DEBUG] 09:23:22.628 executiontime.go:Enabled:57 → always_enabled: false
[TRACE] 09:23:22.628 terminal.go:ExecutionTime() - 90ns
[DEBUG] 09:23:22.628 executiontime.go:Enabled:59 → threshold: 5000.000000
[TRACE] 09:23:22.628 terminal.go:Shell() - 60ns
[TRACE] 09:23:22.628 terminal.go:Shell() - 40ns
[TRACE] 09:23:22.628 terminal.go:Flags() - 40ns
[TRACE] 09:23:22.628 terminal.go:Pwd() - 80ns
[TRACE] 09:23:22.628 terminal.go:GOOS() - 40ns
[DEBUG] 09:23:22.628 segment.go:SetEnabled:115 → segment: Text
[TRACE] 09:23:22.628 terminal.go:TemplateCache() - 311ns
[DEBUG] 09:23:22.628 text.go:Render:80 → rendering template: ❯
[TRACE] 09:23:22.628 terminal.go:Flags() - 50ns
[DEBUG] 09:23:22.628 text.go:Render:80 → rendering template: {{if gt .Code 0}}red{{end}}
[TRACE] 09:23:22.628 terminal.go:Flags() - 60ns
[TRACE] 09:23:22.628 terminal.go:TemplateCache() - 551ns
[DEBUG] 09:23:22.628 text.go:Render:80 → rendering template: {{if eq .Code 0}}magenta{{end}}
[TRACE] 09:23:22.628 terminal.go:Flags() - 141ns
[TRACE] 09:23:22.630 terminal.go:TemplateCache() - 792ns
[DEBUG] 09:23:22.630 text.go:Render:80 → rendering template: plain
[TRACE] 09:23:22.630 terminal.go:Flags() - 110ns
[DEBUG] 09:23:22.630 text.go:Render:80 → rendering template: {{if gt .Code 0}}red{{end}}
[TRACE] 09:23:22.630 terminal.go:Flags() - 40ns
[TRACE] 09:23:22.631 terminal.go:TemplateCache() - 1.293µs
[DEBUG] 09:23:22.631 text.go:Render:80 → rendering template: {{if eq .Code 0}}magenta{{end}}
[TRACE] 09:23:22.631 terminal.go:Flags() - 141ns
[TRACE] 09:23:22.633 terminal.go:TemplateCache() - 631ns
[TRACE] 09:23:22.633 terminal.go:Shell() - 130ns
[TRACE] 09:23:22.633 terminal.go:Shell() - 40ns
[TRACE] 09:23:22.633 terminal.go:Flags() - 70ns
[TRACE] 09:23:22.633 terminal.go:Shell() - 111ns
[TRACE] 09:23:22.633 terminal.go:Flags() - 40ns
[DEBUG] 09:23:22.633 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.633 terminal.go:Getenv(LOCALAPPDATA) - 21.139µs
[DEBUG] 09:23:22.633 terminal.go:Getenv:164 → NO DATA
[TRACE] 09:23:22.633 terminal.go:Getenv(OMP_CACHE_DIR) - 3.095µs
[DEBUG] 09:23:22.633 terminal.go:Getenv:164 → $HOME/.cache
[TRACE] 09:23:22.633 terminal.go:Getenv(XDG_CACHE_HOME) - 4.819µs
[TRACE] 09:23:22.633 terminal.go:CachePath() - 77.907µs
[TRACE] 09:23:22.633 terminal.go:Flags() - 40ns
@Eloquencere Eloquencere added the 🐛 bug Something isn't working label Oct 27, 2024
@JanDeDobbeleer
Copy link
Owner

@Eloquencere do you initialize oh-my-posh after Atuin? Key bindings can get overridden, but we should patch those rather than replace.

@Eloquencere
Copy link
Author

Eloquencere commented Oct 27, 2024

Well, I tried what you suggested, it's not an issue of key binds getting overridden. The command is invisible even though I know it's there. I have a feeling it might have something to do with the transient prompt because everything seems to work fine when I remove that portion from the config file. Just as a note, the issue is the same even on the default config that comes out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants