z.lua is a shell plugin that replaces the standard cd command with a faster navigation tool that learns your directory access patterns.
The tool solves the problem of slow directory navigation by tracking which directories you visit and how frequently you access them. Instead of typing full paths or repeatedly navigating through nested directories, you can jump to frequently visited locations using short aliases or partial directory names. The plugin learns your habits over time, building a database of your navigation patterns, and uses fuzzy matching to find the directory you want with minimal typing. It works across bash, zsh, fish, and PowerShell shells.
The tool suits developers and system administrators who spend significant time in the terminal and work with deeply nested directory structures. It is particularly valuable for those who frequently switch between multiple project directories or work in environments with complex folder hierarchies. If you are already familiar with tools like autojump, fasd, or z, this project offers a Lua-based alternative that aims to provide similar functionality with different performance characteristics. The plugin integrates as a shell function and requires minimal setup to begin learning your navigation habits.
The project shows consistent maintenance with regular updates addressing bug fixes and feature improvements. Development activity includes responsiveness to user-reported issues and incorporation of community feedback. The codebase demonstrates attention to cross-shell compatibility, with ongoing refinement of behavior across different shell environments. Updates reflect a focus on stability and reliability rather than rapid feature expansion.