Here’s a tip that can really speed up your navigation between directories on your command line. Install autojump. As you navigate to directories via cd
, autojump will make a database of the directories you visit frequently. You can then just use part of the directory name to jump to that directory. For instance, using the j
alias for autojump:
$ j juxtapose ...www/wp-content/themes/vip/acme-plugins/juxtapose $ j mu-plugins ...vip-quickstart/www/wp-content/mu-plugins $ j foo ...www/wp-content/themes/vip/acme-foo
#cli
That is an interesting tool. I created my own bash script for navigation a while ago, but I’ll check out autojump.