autojump is a command-line tool for faster directory changing. It’s a must-have on my workstation, because it lets me jump to deeply nested directories like this:
:~/$ j cli /Users/jwworth/projects/2017/twitter-killer/client :~/jwworth/projects/2017/twitter-killer/client$
There are two ways we can clean up autojump once it’s been running for a while. First, purge non-existant directories from the jump database:
$ j --purge Purged 8 entries.
Second, edit the file
~/Library/autojump/autojump.txt (OSX), which stores the jump database. Here you can remove directories that should never be jumped to, or are weighted too highly because of frequent use in the past.