Documentation

zoxide – smarter cd command for fast directory navigation

zoxide is a smarter directory-changing command that learns the directories you use and lets you return to them with short queries.

It is inspired by z and autojump, but still understands ordinary path-oriented navigation. A database tracks directory usage and ranks destinations so that a command such as z foo can jump directly to the most relevant matching path. For ambiguous searches, the companion zi command opens an interactive selector.

This is free and open source software.

Key Features

  • Ranks directories from usage history so frequently visited destinations can be reached with only a few keystrokes.
  • Accepts multiple search terms to narrow matches to the intended path.
  • Works with regular paths as well as ranked history queries, making it usable as a practical cd replacement.
  • Interactive selection uses fzf when several destinations match.
  • Interactive shell completions are available for supported Bash, Fish and Zsh setups.
  • Supports a wide range of shells, including Bash, Zsh, Fish, Nushell, PowerShell and several other command environments.
  • Directory scoring can be updated on prompt display or only when the working directory changes.
  • Supports exclusion globs for directories that should never be recorded.
  • Can echo the matched directory before changing to it and optionally resolve symbolic links.
  • Imports existing navigation data from tools including autojump, fasd, z and z.lua.
  • Integrates with numerous terminal file managers, editors, tmux tools and other command-line applications.
  • Lets users change the generated command prefix or redefine the underlying shell functions.

Website: github.com/ajeetdsouza/zoxide
Support:
Developer: Ajeet D’Souza
License: MIT License

zoxide is written in Rust. Learn Rust with our recommended free books and free tutorials


Related Software

Shell tools
fzfCommand-line fuzzy finder for your shell
zoxideSmarter cd command, inspired by z and autojump
brootReviewed under our Excellent Utilities series
McFlyAlso reviewed under our Excellent Utilities series
zMaintains a jump-list of the directories you actually use
autojumpOffers a fast way to navigate your filesystem
z.luaHelps you navigate faster by learning your habits
HSTRBash and zsh shell history suggest box
Zsh-zFast directory jumping based on frecency
enhancdNext-generation cd command
fzySimple, fast fuzzy finder for the terminal
NavitaRapid directory traversal
JumpQuick and fuzzy directory jumper
walkSimple and minimalistic terminal navigator
lacycd alternative that makes navigating much more efficient
DF-SHOWDirectory File Show
fzAdds fuzzy search to tab completion of z
paziFast autojump helper
jumperFiles/directories jumper
cdhistLinux shell cd history directory stack
icdShell utility that makes changing directories quicker and more convenient
SDDynamic directory navigation from the command line
DongleMove around deep directory trees
cdwecd with env vars
fastdiractQuick shell navigation and command execution
zmcd for lazy people
slingshotLightweight tool to browse files in the terminal
qcdQuickly change directory
navQuickly navigate through directories
menucdDirectory browser and changer
knNavigate folders quickly
jmpThe superior cd
gumpSmarter cd command

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted