DEV Community

Discussion on: Terminal Tricks: Directory Bookmarks

Collapse
 
elisarver profile image
Eli Sarver • Edited

z is also good. It keeps a list of your statistically frequent and recent cd commands. If you have a lot of directories with similar names, however, you'll probably have better luck with this approach.

The one thing I take issue with in this approach is the use of four single-letter shortcuts. For me, g is for git, and l is for ls -la.

It's weird for me to take issue with this approach this way, since I do use the z macro.