Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
今朝はああ、私の zsh の更新です。それ以来、端末を起動するたびに:
grep: unrecognized option `--exclude-dir=.cvs'
git-flow を使おうとすると同上
何か案が ?
2.5.3 より前のバージョンの grep には、このオプションがありません。grep をアップグレードするか、行をコメントアウトしてみてください
for PATTERN in .cvs .git .hg .svn; do GREP_OPTIONS+="--exclude-dir=$PATTERN " done
.oh-my-zsh/lib/grep.zsh 行 9. その後、再び正常に動作します。