cd, but it remembers
zoxide learns which directories you visit and ranks them by frecency (frequency × recency). After a day or two, z proj jumps straight to ~/projects/cwkPippa without typing the path.
Install and hook
brew install zoxide
echo 'eval "$(zoxide init zsh)"' >> ~/.zshrcBy default it adds the z command. zi opens an interactive picker (uses fzf if installed).
Daily use
z pippa # jump to highest-ranked dir matching 'pippa'
z pippa front # match multiple substrings
z - # previous directory (like cd -)
zi pip # interactive pickerDatabase
Stored at ~/.local/share/zoxide/db.zo. Survives reboots. zoxide query --list --score shows your ranked dirs. zoxide remove path drops a dir from the database.
How it pairs with autocd
If you have setopt AUTO_CD in zsh, you can also drop the cd: typing ../sibling jumps. Combined with zoxide's substring jumps, you barely type cd at all anymore.