1. git clone autojump

git clone https://github.com/joelthelion/autojump.git

after clone, it will create a dir named autojump
 

2. install autojump

cd autojump
./install.sh

after install autojump, it will create config file of autojump at ~/.autojump
 

3. setup config file for autojump

3-1. vim ~/.zshrc and add autojump at plugins=(xxx autojump)

...
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git autojump)
...

3-2 check shell file name of autojump is correct e.g. ~/.autojump/etc/profile.d/autojump.sh or ~/.autojump/etc/profile.d/autojump.zsh
add shell file of autojump file in ~/.zshrc

...
[[ -s ~/.autojump/etc/profile.d/autojump.zsh ]] && . ~/.autojump/etc/profile.d/autojump.zsh

 

4. reload config file

source ~/.zshrc

 

5. Now Jump it!!