From e29b79b861e574d7456a86b9f207949a4187aa6e Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sun, 18 Dec 2022 03:06:27 +0900 Subject: [PATCH] fix(make): disable the display-only mode also for COMP_TYPE=42 https://github.com/scop/bash-completion/pull/546#issuecomment-1087997445 https://github.com/spf13/cobra/pull/1509 --- completions/make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/completions/make b/completions/make index ef8fcd8af59..cb4bafc371f 100644 --- a/completions/make +++ b/completions/make @@ -160,7 +160,7 @@ _make() # recognise that possible completions are only going to be displayed # so only the base name is shown local mode=-- - if ((COMP_TYPE != 9 && COMP_TYPE != 37)); then + if ((COMP_TYPE != 9 && COMP_TYPE != 37 && COMP_TYPE != 42)); then mode=-d # display-only mode fi