Grep versions lower than 2.5.3 do not have this option. Try to upgrade your grep, or comment out the lines
for PATTERN in .cvs .git .hg .svn; do
GREP_OPTIONS+="--exclude-dir=$PATTERN "
done
at .oh-my-zsh/lib/grep.zsh line 9. Then it works fine again.