bash-it/lib
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
..
appearance.bash lib/appearance: export `$CLICOLOR` instead of `$LSCOLOR` 2022-03-03 23:58:55 -08:00
colors.bash lib/colors: revert #99 2022-01-28 13:08:50 -08:00
command_duration.bash Merge pull request #2119 from BarbUk/fix/command_duration_precision 2022-03-14 11:59:27 +02:00
helpers.bash chore: Use grep -E / grep -F instead of egrep / fgrep (#2164) 2022-10-13 10:34:57 -07:00
history.bash lib/history: new functions `_bash-it-history-auto-*()` 2022-02-08 16:59:29 -08:00
log.bash lib/appearance: export `$CLICOLOR` instead of `$LSCOLOR` 2022-03-03 23:58:55 -08:00
preexec.bash lib/preexec: the last remnants of the `$OSTYPE` have been swept away 2022-02-16 16:10:41 -08:00
preview.bash lib: preview: Load only bash-it.sh when previewing 2022-03-08 00:01:37 +02:00
search.bash lib: search: Increase delay in _bash-it-flash-term to 0.2 secs 2022-03-08 00:02:23 +02:00
utilities.bash chore: Use grep -E / grep -F instead of egrep / fgrep (#2164) 2022-10-13 10:34:57 -07:00