Why directory jumpers should use exponential moving sums instead of frecency
By jghub · 2026-06-25 · 3 points · 0 comments
Directory jumpers such as z.sh and zoxide need to rank candidate directories from a stream of past navigation events. Most implementations use some form of frecency : a score combining historical visit count with recency. The details vary, but the basic idea is always score = fr…
Open the full discussion on BetterNews