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
Owner:Eric G.Group:Law School
Created:2022-03-28 10:26 CDTUpdated:2022-05-26 15:16 CDT
Sites:Law School
Feedback:  0   0