summaryrefslogtreecommitdiff
path: root/plugins/autojump/autojump.plugin.zsh
diff options
context:
space:
mode:
authorSean Escriva <sean.escriva@gmail.com>2012-11-06 13:38:08 -0800
committerSean Escriva <sean.escriva@gmail.com>2012-11-06 13:38:08 -0800
commitf967f2bfd7b104da78ec1b1f1c6f893c2356dabc (patch)
tree63bc5b2718e1096cc89c2c13e4204af8134dea1c /plugins/autojump/autojump.plugin.zsh
parentc2ae9e09ca1f33ff1e13e629a0b2e6bdd19f83a9 (diff)
downloadzsh-f967f2bfd7b104da78ec1b1f1c6f893c2356dabc.tar.gz
zsh-f967f2bfd7b104da78ec1b1f1c6f893c2356dabc.tar.bz2
zsh-f967f2bfd7b104da78ec1b1f1c6f893c2356dabc.zip
update autojump plugin for latest brew installed autojump
Diffstat (limited to 'plugins/autojump/autojump.plugin.zsh')
-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