Why directory jumpers should use exponential moving sums instead of frecency (opens in new tab)
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.
Read the original article