lib/helpers: fix extraneous quotes from _bash-it-grep()

This commit is contained in:
John D Pell
2022-02-14 15:29:55 -08:00
parent 150f73ee50
commit fbd842b2ea

View File

@@ -63,7 +63,7 @@ function _bash-it-array-dedup() {
# Outputs a full path of the grep found on the filesystem
function _bash-it-grep() {
: "${BASH_IT_GREP:=$(type -p egrep || type -p grep)}"
printf "%s" "${BASH_IT_GREP:-'/usr/bin/grep'}"
printf "%s" "${BASH_IT_GREP:-/usr/bin/grep}"
}
# Runs `grep` with extended regular expressions