Skip to content

Commit

Permalink
Merge pull request #1328 from mfoo/master
Browse files Browse the repository at this point in the history
Fix autojump plugin error on Linux with manual installation of autojump
  • Loading branch information
robbyrussell committed Dec 2, 2012
2 parents 228c3fc + 5e0fd9b commit fcc8b19
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/autojump/autojump.plugin.zsh
Expand Up @@ -3,6 +3,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed
. /usr/share/autojump/autojump.zsh
elif [ -f /etc/profile.d/autojump.zsh ]; then # manual installation
. /etc/profile.d/autojump.zsh
elif [ -f $HOME/.autojump/etc/profile.d/autojump.zsh ]; then # manual user-local installation
. $HOME/.autojump/etc/profile.d/autojump.zsh
elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports
. /opt/local/etc/profile.d/autojump.zsh
elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.zsh ]; then # mac os x with brew
Expand Down

0 comments on commit fcc8b19

Please sign in to comment.