I tried to install it through brew install autojump but it didn't work for me. So I uninstalled it brew uninstall autojump.
I used manual installation and it worked well.
# Grab a copy of autojump:
$ cd tmp
$ git clone git://github.com/joelthelion/autojump.git
# Run the installation script:
cd autojump
./install.sh [ --local ]
Please add the line to ~/.zshrc :
[[ -s /etc/profile.d/autojump.zsh ]] && . /etc/profile.d/autojump.zsh
You need to run 'source ~/.zshrc' before you can start using autojump. To remove autojump, run './uninstall.sh'
.zshrc
$ vim .zshrc
# In vim
########
# autojump
########
[[ -s /etc/profile.d/autojump.zsh ]] && . /etc/profile.d/autojump.zsh
$ source .zshrc
I also created ~/.local/share/autojump/autojump.txt.
$ touch ~/.local/share/autojump/autojump.txt.
Some commands
# help
$ j -h
# version
$ j -v
# stat
$ j -s
# more in j -h
I hope it works for you too.