跳到主要內容

設定grep預設exclude條件

grep很好用, 每次下--exclude濾掉沒用到的檔案有點煩麻, 利用GREP_OPTION就可以省去此動作. 
export GREP_OPTIONS="--exclude=cscope.out --exclude=*~ --exclude=tags --exclude=*.~*"

留言