On writing small useful things like zjyo
I’ve used z for over a decade. Not zoxide, not jump, not fasd, the original rupa/z, a few hundred lines of POSIX shell that tracks the directories you cd into and lets you jump back with a fuzzy pattern instead of a full path. At some point I tried the newer alternatives. Each one changed something I didn’t ask it to change: a different ranking algorithm, a different database format, a new set of flags to relearn. None of them were bad tools. They just weren’t z. I wanted the exact behavior I already had muscle memory for, just without a shell interpreter parsing a database file on every invocation. ...