Autojump is a cd command that learns - easily navigate directories from the command line.
Autojump is a cd command that learns - easily navigate directories from the command line.
autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line. The autojump -s command shows you the current contents of the database. You need to work a little bit before the database becomes usable. Once your database is reasonably complete, you can "jump" to a commonly "cd"ed directory by typing:
j where dirspec is a few characters of the directory you want to jump to. It will jump to the most used directory whose name matches the pattern given in dirspec. Note that autojump isn't meant to be a drop-in replacement for cd, but rather a complement. Cd is fine when staying in the same area of the filesystem; autojump is there to help when you need to jump far away from your current location.
Autojump supports tab-completion. Autojump should be compatible with Bash 4 and zsh.
Official GitHub: https://github.com/wting/autojump