One of the most used shell commands is "cd". A quick survey among my friends revealed that between 10 and 20% of all
commands they type are actually cd commands! Unfortunately, jumping from one part of your system to another with cd
requires to enter almost the full path, which isn't very practical and requires a lot of keystrokes.
To solve this problem, I wrote a small tool called autojump
. Autojump works be learning which directories you spend the most time in. You then issue a jump command:
That will bring you to the most used directory that matches pattern. In practice, only a few characters are needed, which is much faster than cd.
Autojump is written part in bash and part in python, and is written for bash (it should be portable to other shells, but doing so would require some work). For now autojump is only packaged for arch linux, but installation is very simple anyways.
Tell me what you think!