summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-11-25 11:36:09 -0800
committerRobby Russell <robby@planetargon.com>2012-11-25 11:36:09 -0800
commit1b4a23ac8bc99fab0fb83f7393882f4219103666 (patch)
tree51109e354e1fa862d3feeaccd0b7d73e37b260f7
parent63cd6ef7eb99885928544e031f610c74ebb7e818 (diff)
parentf967f2bfd7b104da78ec1b1f1c6f893c2356dabc (diff)
downloadzsh-1b4a23ac8bc99fab0fb83f7393882f4219103666.tar.gz
zsh-1b4a23ac8bc99fab0fb83f7393882f4219103666.tar.bz2
zsh-1b4a23ac8bc99fab0fb83f7393882f4219103666.zip
Merge pull request #1396 from webframp/fix/brew-autojump-zsh
Fix for brew installed autojump
-rw-r--r--plugins/autojump/autojump.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/autojump/autojump.plugin.zsh b/plugins/autojump/autojump.plugin.zsh
index d367863b8..fdce3a246 100644
--- a/plugins/autojump/autojump.plugin.zsh
+++ b/plugins/autojump/autojump.plugin.zsh
@@ -5,7 +5,7 @@ if [ $commands[autojump] ]; then # check if autojump is installed
. /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 ]; then # mac os x with brew
- . `brew --prefix`/etc/autojump
+ elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump.zsh ]; then # mac os x with brew
+ . `brew --prefix`/etc/autojump.zsh
fi
fi