2 ms·
alias grep='grep --exclude-dir .\* --exclude .\*' grep -r --include \*.foo bar
by sudahtigabulan 1y ago
alias grep='grep --exclude-dir .\* --exclude .\*'
grep -r --include \*.foo bar
- robenkleene 1y agoJust noting why I answered why don't do this (and honestly do think it's a very good idea) here https://news.ycombinator.com/item?id=45569313 https://news.ycombinator.com/item?id=45569313