📢gitzw.com上线了,功能陆续更新中,如有问题或反馈请在下方反馈/建议中给我们留言。
ajeetdsouza

zoxide

ajeetdsouza/zoxideRust★ 38,120⑂ 852
📈 Star trend+569 / 31d
View on GitHub

Summary

A smarter cd command. Supports all major shells.

📖 Highlights

zoxide is a smarter cd command that remembers your most frequently used directories, allowing you to jump to them with just a few keystrokes. It works on all major shells and is inspired by z and autojump.

  • Smarter cd: jump to directories by typing partial names.
  • Supports multiple shells: bash, zsh, fish, and more.
  • Interactive selection with zi command using fzf.
  • Tab completions for quick directory navigation.
  • Frecency-based ranking: combines frequency and recency.
  • Cross-platform: Linux, macOS, Windows, and others.
  • Easy installation via package managers or install script.

🤖 AI Deep Analysis

Zoxide is a highly efficient and modern replacement for cd, offering speed and smart directory jumping across multiple shells.

✅ Pros

  • Fast and efficient with a ranking algorithm
  • Supports multiple shells (bash, zsh, fish, etc.)
  • Integrates with fzf for interactive selection
  • Lightweight and written in Rust
  • Easy to install and configure

⚠️ Cons

  • Requires shell integration setup
  • Limited to directory jumping only
  • Learning curve for advanced features

🎯 Use cases

  • Quickly navigating frequently used directories
  • Replacing cd with a smarter, learning tool
  • Improving shell productivity for developers

⚖️ Comparison

Compared to autojump and fasd, zoxide is faster (Rust-based), has better ranking, and supports more shells. Unlike cd, it learns from usage patterns.