•Arnošt Havelka
Zoxide Deep Dive
Understanding the 'Frecency' algorithm.
Start Interactive LessonZoxide isn't magic; it's math. It ranks directories based on an algorithm called Frecency.
Frecency = Frequency + Recency
- Frequency: How often you visit a folder.
- Recency: How recently you visited it.
The Scoring System
Every time you visit a directory, Zoxide increases its score. If you don't visit it for a while, the score decays. This means a folder you used 100 times last year won't beat a folder you used 10 times today.
Viewing Scores
You can actually see the raw scores in your database.
Terminal
C:\Users\Student>zoxide query --list --score
Cleaning the Database
If you delete a folder, Zoxide might still remember it. You can clean up these "ghost" entries.
Terminal
C:\Users\Student>zoxide remove C:\DeletedFolder
Knowledge Check
1 / 2What combination makes up 'Frecency'?
References
These documentation links provide authoritative details for the commands used in this article.
Up Next
Zoxide Advanced
Interactive selection with 'zi'.