Gangmax Blog

自由之思想,独立之精神

Use Autojump

| Comments

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.

Install

1
sudo apt-get install autojump

Configure

1
2
# Add the following line to your "~/.zshrc" file:
source "/usr/share/autojump/autojump.sh"

Use

1
2
3
4
5
6
7
8
9
10
# "autojump" will record the directories you entered. Then
# you can use the following command to get into a directory
# such as "octopress":
j oc

# Use the following command to list all recorded data:
j -s

# Use the following command to get help:
j -h

You can find some useful information about using “autojump” from here and here.

Comments