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

pull/2061/head
John D Pell 2022-02-14 15:29:55 -08:00
parent 150f73ee50
commit fbd842b2ea
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function _bash-it-array-dedup() {
# Outputs a full path of the grep found on the filesystem # Outputs a full path of the grep found on the filesystem
function _bash-it-grep() { function _bash-it-grep() {
: "${BASH_IT_GREP:=$(type -p egrep || type -p 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 # Runs `grep` with extended regular expressions