grep环境变量常用配置

vim ~/.bashrc

GREP_OPTIONS="-irns --exclude-dir=output --exclude=tags --exclude=*.files"

然后:

source ~/.bashrc

原文地址:https://www.cnblogs.com/biglucky/p/4913427.html