fix autojump for latest brew install

This commit is contained in:
Xuefeng Zhu 2015-06-02 18:59:44 -07:00
commit e86d95955b

View file

@ -16,6 +16,6 @@ if [ $commands[autojump] ]; then # check if autojump is installed
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
. `brew --prefix`/etc/autojump.zsh
. `brew --prefix`/share/autojump/autojump.zsh
fi
fi