Re:Zoxide: A Better CD Command
by mubu on Tuesday September 23, 2025 @02:47AM
(#45343593)
How is this any different from z?
[ Parent
| on HN ]
Zoxide normally aliases to z. Is this not z?
The main difference is speed (Rust vs shell script)
This is z, no?
There is a different project called z:
I’d never heard of it but it was the first search result for “z github”.
Or the pure zsh version, which is superior, since it eliminates a ton of forking by eliminating calls to external tools (the original z script relies heavily on awk, sort, date, sed, mv, rm, and chown). There are also significant stability improvements to the database thanks to proper locking.
Re:Zoxide: A Better CD Command
by derintegrative on Wednesday September 24, 2025 @01:37PM
(#45363529)
Failed twenty ways to Sunday if I set `ZSHZ_DATA="$HOME/.local/share/zsh-z"` . Could not get it to recover from it.
Not having heard of either of these before, but now seeing z linked by sibling comment too, I would guess 'z oxide' is a Rust re-implementation of z.
There's a few different versions of this same idea, I think zoxide is the third one I've used. Years ago, I started using z.lua, then switched to a fish shell plugin implementation of z, finally to zoxide. I don't think there's any real difference between them, aside from their implementation language and the ease of installation.