3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

How to install autojump to Mac+iTerm+oh-my-zsh

Last updated at Posted at 2013-12-08

Demo video

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.

3
3
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?