You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: Pressing up arrow sometimes brings next-to-last command instead of the last one #953
Lets say my last command is "ls ~/.config", and the one before it is "pwd". When I press up it sometimes fills the current command with "pwd" instead of "ls ~/.config". Most of the time it works correctly and fills it with "ls ~/.config". I'm not sure of the exact conditions when this happens.
So with latest version, history seems to work very weird still. Lets say I open terminal, I press up, I get "zoxide /mnt/Expansion/Pictures/random", I type "ls ~/.config", press enter. I close terminal, open terminal again, press up. I still get "zoxide /mnt/Expansion/Pictures/random" for some reason, when the last command is clearly "ls ~/.config".
Another weirdness:
I open terminal, I press up, I get "zoxide /mnt/Expansion/Pictures/random", I press down, I get empty. I press up again and I get "zoxide --help" for some reason.
Activity
ivxvm commentedon Aug 19, 2026
Woops, I just noticed how old this version is. I'll update flyline and check with new version.
ivxvm commentedon Aug 19, 2026
So with latest version, history seems to work very weird still. Lets say I open terminal, I press up, I get "zoxide /mnt/Expansion/Pictures/random", I type "ls ~/.config", press enter. I close terminal, open terminal again, press up. I still get "zoxide /mnt/Expansion/Pictures/random" for some reason, when the last command is clearly "ls ~/.config".
Another weirdness:
I open terminal, I press up, I get "zoxide /mnt/Expansion/Pictures/random", I press down, I get empty. I press up again and I get "zoxide --help" for some reason.
HalFrgrd commentedon Aug 19, 2026
Thanks for the bug report! I've been refactoring the history stuff and caused the first bug. But the second bug has been around dormant for a while!
Fix history navigation (#957)