check for autojump manual local installation in plugin

This commit is contained in:
William Ting 2012-03-05 19:03:15 -10:00
commit d825747e80

View file

@ -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 ~/.autojump/etc/profile.d/autojump.zsh ]; then # manual local installation
. ~/.autojump/etc/profile.d/autojump.zsh
elif [ $commands[brew] -a -f `brew --prefix`/etc/autojump ]; then # mac os x with brew
. `brew --prefix`/etc/autojump
fi