z.lua is a command-line navigation tool that learns your directory habits to help you jump between folders instantly. Instead of typing long paths or traversing directory trees, it tracks your most frequently and recently accessed directories using a frecency algorithm (frequency + recency).
The tool works by recording which directories you visit and how often. After a brief learning phase, typing z foo bar automatically takes you to the most relevant directory matching those patterns—no need to remember full paths or use complex cd commands.
Key advantages:
-i flag or integrate with fzf for fuzzy selection../The tool maintains a database of your directory visits and automatically ages entries over time, keeping frequently-used paths at the top while gradually deprioritizing older ones. You can exclude specific directories, limit matches to subdirectories, or simply list matches without changing directories.