Use a list of tracked directories as an interactive jump menu.
Section: History and navigation recipes
Jump to a recent directory
bash
bash
printf '%s\n' ~/src ~/work ~/notes | fzf | xargs -I{} cd '{}'Explanation
In practice you would wrap this in a shell function because cd must run in the current shell.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing History and navigation recipes
Find project files with fd and fzf
Use fd as the file source for faster recursive listing.
Search with ripgrep then open in Vim
Use ripgrep for content search and fzf for interactive selection.
Preview ripgrep matches with context
Combine ANSI results with a syntax-highlighted preview.