Re:Zoxide: A Better CD Command
by alright2565 on Tuesday September 23, 2025 @08:18AM
(#45345957)
There's no need to type "cd", just the folder name and hit up until you get to the right command.
[ Parent
| on HN ]
Re:Zoxide: A Better CD Command
by robenkleene on Tuesday September 23, 2025 @08:55AM
(#45346374)
That's not default behavior in most shells (e.g., `autocd` in Zsh, and, for the record, that's also not default up arrow behavior in Bash or Zsh [it is in Fish]).
But my question is specifically about relative vs. absolute paths when recalling directory traversal from history. I'm still struggling to follow how you'd use Zsh history as a zoxide replacement without always using absolute paths.