Commit Graph

7 Commits

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
cornfeedhobo
2e4c4ad29a enhance makefile completion - remove hash bang 2020-02-21 22:29:14 -06:00
cornfeedhobo
239f708637 enhance makefile completion - remove use of find 2020-02-21 22:27:56 -06:00
cornfeedhobo
552cd89851 enhance makefile completion - shortcircuit early when nothing is found 2020-02-21 13:09:08 -06:00
cornfeedhobo
9d97532f8e enhance makefile completion and make shellcheck happy 2020-02-21 12:56:00 -06:00
cornfeedhobo
b70c02c4ae enhance makefile completion to support multiple files and gnumake 2020-02-21 12:16:57 -06:00
Patrice Ferlet
d057865c24 Add Makefile completion
Sometimes, Makefile won't be completed (as for me on Fedora 25) as soon as bash-it is activated. This completion script can provide a Makefile completion.
2016-12-21 10:20:36 +01:00