Commit Graph

4 Commits (dff0273b3641b253e721d98a94899c84f6cded96)

Author SHA1 Message Date
David Farrell 00062bfcb6
chore: Use grep -E / grep -F instead of egrep / fgrep (#2164)
Ensures that the -E or -F option, when used, is the first option
* i.e. grep -oE => grep -E -o

Updates _bash-it-grep to invoke grep with just the provided arguments
* This function was (and still is) unused, but decided this new functionality was actually more useful

Introduces _bash-it-fgrep to invoke grep -F

Removes type -P egrep from the _bash-it-*grep functions

For usages that were already going to be modified, use -F if appropriate
* Does not touch grep usages that may have benefited from -F, but were not otherwise considered for this PR

Adds shellcheck header to modified .bash files that didn't already have it
2022-10-13 10:34:57 -07:00
David Farrell 75bd5c85c1
Explain Bash-it variable clearing in lint script 2020-11-05 08:30:33 -08:00
David Farrell a858e75456
Add Dir Support to Clean_Files; Clean powerline theme 2020-11-03 16:14:02 -08:00
David Farrell da9b710014
Moves lint logic into lint_clean_files.sh 2020-11-03 10:10:11 -08:00