This week we are going to review one of my favorite and most used commands. If …
This week we are going to review one of my favorite and most used commands. If you move around the command line, you may have experienced the pain of recalling directory structures and typing them over and over to access directories that are distant from each other.
is specifically designed to fix this pain by allowing you to jump trough directories.
h/t to @luislavena for sharing the existence of with me.
As simple as it sounds, will take you directly to a directory that matches the regexes you provide, no matter where you are.
It’s worth emphasizing that the argument is a regex, which is especially useful if you are lazy: I usually type the first two or three letters of the directory that I want to access and it’s enough.
is very easy to install, if you are anxious to try it by yourself head to the install instructions in the README.
An important gotcha: is only able to take you to directories that you already visited before: it needs a learning phase because of how it works.
does its magic by storing the directories you visit in a flat file database and matching your query against this list. This file is located by default in , but the directory can be changed via…