From af122400ed0c9151d15d07eda0c71e29ec5bb059 Mon Sep 17 00:00:00 2001 From: Ryan Williams Date: Wed, 22 Jul 2020 09:07:18 -0400 Subject: [PATCH] Make grep detection more robust (#1663) --- plugins/python-build/bin/pyenv-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/bin/pyenv-install b/plugins/python-build/bin/pyenv-install index 22333f6e..ce6966ef 100755 --- a/plugins/python-build/bin/pyenv-install +++ b/plugins/python-build/bin/pyenv-install @@ -59,7 +59,7 @@ usage() { definitions() { local query="$1" - python-build --definitions | $(type -p ggrep grep | head -1) -F "$query" || true + python-build --definitions | $(type -ap ggrep grep | head -1) -F "$query" || true } indent() {