diff --git a/app/cmd/completion.go b/app/cmd/completion.go index 46a8ec3d160f84964b5c891bd22cf1dace1ece66..96156434cb1ad2245a67442abc50d1ed8e4d626e 100644 --- a/app/cmd/completion.go +++ b/app/cmd/completion.go @@ -18,7 +18,7 @@ var completionCmd = &cobra.Command{ ## or, if running Bash 4.1+ brew install bash-completion@2 ## you may need add the completion to your completion directory - kubectl completion bash > $(brew --prefix)/etc/bash_completion.d/kubectl + jcli completion > $(brew --prefix)/etc/bash_completion.d/jcli ## If you get trouble, please visit https://github.com/jenkins-zh/jenkins-cli/issues/83.`, Run: func(cmd *cobra.Command, _ []string) { rootCmd.GenBashCompletion(cmd.OutOrStdout())