Zoxide: A Better CD Command
Overall reception & role among CLI tools
- Many commenters call zoxide “work‑changing” and “can’t live without it,” using it dozens of times per day.
- Frequently mentioned alongside fzf, ripgrep, fd, eza/lsd, bat, starship, Atuin, and fish as part of a modern “killer CLI stack.”
- Several people alias
zor evencdto zoxide so it feels transparent until they land on a system without it.
Relation to z, autojump, and similar tools
- Zoxide is widely seen as a Rust reimplementation of earlier tools like
zandautojump, mainly differing in speed and implementation language. - Some think the various tools are functionally similar; choice is about performance, installation ease, and shell support.
- The original autojump author now recommends zoxide and notes autojump is effectively unmaintained; zoxide can import autojump data.
Usage patterns, integrations, and tricks
- Common workflows:
zfor direct jumps,zi(interactive picker) when there are ambiguous matches.- Combining
zoxide querywith fzf for an interactive, ranked list of visited dirs. - Git‑aware wrappers (e.g., worktree‑aware scripts) and
--basediraliases scoped to a git repo root.
- Some shells (fish, zsh with plugins) plus tools like Atuin or McFly give history‑ and context‑aware navigation that partially overlaps zoxide.
Fuzzy matching: benefits and complaints
- Fans like “frecency” (frequency + recency) and jumping by partial names (e.g.,
z foo barfor nested paths). - Critics dislike non‑deterministic behavior: “lottery ticket” feeling, accidentally jumping to wrong dirs (e.g.,
thingvsthing-api, many.../src). - Mitigations mentioned: manual score adjustment, multi‑keyword queries,
ziinteractive mode, or using tab‑completion onzqueries.
Alternative philosophies and skepticism
- Some prefer:
- Native shell features (CDPATH,
dirs/pushd/popd, recursive fzf onfind, cd‑history keybindings). - Simple aliases or variables as “bookmarks,” or scripts like
mkdircd.
- Native shell features (CDPATH,
- A few see it as overkill or “an improved hammer that didn’t need improvement,” emphasize knowing their directory tree, or fear accidental destructive ops in wrong dirs.
Meta: sponsorship and aesthetics
- Noted trend of GitHub READMEs leading with sponsor ads (e.g., Warp) and heavy emojis; some dislike this and prefer man‑page‑style minimalism, others accept it as funding for good tools.