better grep searches

improve grep results
grep --include=\*.php --include=\*.inc --include=\*.css --include=\*.js --include=\*.html --exclude-dir=vendor


to make as an aliases, add to ~/.bashrc
alias grepPHP='grep --include=\*.php --include=\*.inc --include=\*.css --include=\*.js --include=\*.html --exclude-dir=vendor'

to use:
grepPHP someFunction -r


Keywords:
improved grep alias bashrc zshrc 
Doc ID:
117620
Owned by:
Eric G. in Law School
Created:
2022-03-28
Updated:
2022-05-26
Sites:
Law School