From d878d4d45863e42fd5cff6743294a11d28a9abce Mon Sep 17 00:00:00 2001 From: Matt Farina Date: Thu, 12 Mar 2020 14:31:28 -0400 Subject: [PATCH] Fixing autocompletion issue Signed-off-by: Matt Farina --- cmd/helm/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/root.go b/cmd/helm/root.go index 339ea15b3..94240600d 100644 --- a/cmd/helm/root.go +++ b/cmd/helm/root.go @@ -99,7 +99,7 @@ func newRootCmd(actionConfig *action.Configuration, out io.Writer, args []string Short: "The Helm package manager for Kubernetes.", Long: globalUsage, SilenceUsage: true, - BashCompletionFunction: completion.GetBashCustomFunction(), + BashCompletionFunction: fmt.Sprintf("%s%s", contextCompFunc, completion.GetBashCustomFunction()), } flags := cmd.PersistentFlags()