Navigate to directories using zoxide (frecency-based directory jumper). Use when the user says "go to", "navigate to", "cd to", "jump to" a project or directory by nickname/partial name (e.g. "go to my dotfiles", "jump to dot").
Navigate to directories using zoxide, a frecency-based directory jumper that learns from usage patterns.
Zoxide maintains a database of directories the user has visited. Each directory gets a frecency score (frequency × recency). When you query with a partial name, zoxide returns the highest-scoring match.
~/.local/share/zoxide/db.zozoxide query foo bar matches paths containing foo then barUse to resolve a partial name to a full path:
zoxide query# Find the best match (prints the path)
zoxide query <partial-name>
# Examples
zoxide query dot # → /home/user/Documents/technical/git/dotfiles-nix
zoxide query apollo # → /home/user/Documents/technical/git/apollo
# Multiple terms narrow results
zoxide query git dot # matches path containing "git" then "dot"
# List all matches ranked by score
zoxide query -l <partial-name>
zoxide query <name> to resolve the user's partial name to a full path.User says: "go to my dotfiles"
# Resolve the directory
zoxide query dotfiles
# Output: /home/user/Documents/technical/git/dotfiles-nix
# Now use that path for further work
ls /home/user/Documents/technical/git/dotfiles-nix
z / j shell aliases do NOT work in the Bash tool because it runs a non-interactive shell. Always use zoxide query instead.j alias: The user's fish shell has j as an alias for z (zoxide). When they say "j dot", they mean "jump to the directory matching 'dot'".cd — just resolve the path with zoxide query and use absolute paths in subsequent commands.