Add to ~/.zshrc. Works the same as in bash. Zoxide stores its database in ~/.local/share/zoxide/db.zo. The algorithm considers both frequency (how often) and recency (how recently) you visited a directory.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.