mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-17 07:43:46 -05:00
Fix detecting completions support on OpenBSD
The non-extended regex pattern didn't work on OpenBSD so this switches grep to extended pattern mode that seems to work consistenty on all systems.
This commit is contained in:
@@ -18,7 +18,7 @@ create_command() {
|
||||
|
||||
@test "command with completion support" {
|
||||
create_command "rbenv-hello" "#!$BASH
|
||||
# provide rbenv completions
|
||||
# Provide rbenv completions
|
||||
if [[ \$1 = --complete ]]; then
|
||||
echo hello
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user