Best way to navigate command line with

Navigating in command line can be tiresome. Using cd /folder-name and stuff. In Mac you can drag folder icon to terminal and it will write the path, which is handy but still require a lot of step.

z script by rupa solve this problem by allow you to jump to directory that you have visited by simply typing z folder-name in command line. You don’t even have to type the full folder name and you can use regexp.

I encourage you to try it out, it makes my life much easier when navigating in command line.

Mac + Linux:

Windows: (never tried it but should work just the same)