Commit Graph

8 Commits (ad2b55804e340c43fbbda82f5733dab2b7db00f9)

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
John D Pell 7ed12083f2 gradle: adopt `_bash_it_find_in_ancestor()` 2021-09-22 15:30:07 -07:00
John D Pell 679d8b10b6 completion/gradle: use `_command_exists` 2021-09-19 21:58:48 -07:00
John D Pell 1f6d6aa147 Use `$PWD` instead of `\`pwd\``
Don't subshell when there's a shell parameter for it.
2021-09-18 13:14:52 -07:00
Noah Gorny 2329b4395b Add license notice to gradle completion 2020-12-29 21:49:10 +02:00
Eduardo Bellido Bellido 727fffb135 Upgrade gradle completion to the official one
https://github.com/gradle/gradle-completion
2017-10-28 00:02:02 +02:00
Eduardo Bellido Bellido 2911f88cf2 Use the same parsing_command for OSX and Linux 2016-02-19 00:35:45 +01:00
Eduardo Bellido Bellido 25ef4e1275 Add gradle completion
Code borrowed from gist:

https://gist.github.com/nolanlawson/8694399
2015-10-22 22:54:13 +02:00