문제

This morning an Oh-my-zsh update. Since then, each time I launch my terminal :

grep: unrecognized option `--exclude-dir=.cvs'

Idem when I try to use git-flow

any idea ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top