51c3ab7d7640670f5b05546dea19a2e11c7e5a11

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #4283 from hanschen/master

Update autojump plugin for latest brew installation

Diff

 1diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
 2index 4cf0364013b2655dac01bf250d063ff2d7b2d1b5..c05c699e106b56ec04278d4cd84d7a4176fd9c35 100644
 3--- a/plugins/autojump/autojump.plugin.zsh
 4+++ b/plugins/autojump/autojump.plugin.zsh
 5@@ -15,7 +15,7 @@ if [ $commands[autojump] ]; then # check if autojump is installed
 6     . /usr/local/share/autojump/autojump.zsh
 7   elif [ -f /opt/local/etc/profile.d/autojump.zsh ]; then # mac os x with ports
 8     . /opt/local/etc/profile.d/autojump.zsh
 9-  elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.zsh ]; then # mac os x with brew
10-    . `brew --prefix`/etc/autojump.zsh
11+  elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.sh ]; then # mac os x with brew
12+    . `brew --prefix`/etc/autojump.sh
13   fi
14 fi