Improve the help of kubeadm completion
This commit is contained in:
@@ -52,16 +52,17 @@ var (
|
|||||||
completion of kubeadm commands. This can be done by sourcing it from
|
completion of kubeadm commands. This can be done by sourcing it from
|
||||||
the .bash_profile.
|
the .bash_profile.
|
||||||
|
|
||||||
Note: this requires the bash-completion framework, which is not installed
|
Note: this requires the bash-completion framework.
|
||||||
by default on Mac. This can be installed by using homebrew:
|
|
||||||
|
|
||||||
|
To install it on Mac use homebrew:
|
||||||
$ brew install bash-completion
|
$ brew install bash-completion
|
||||||
|
|
||||||
Once installed, bash_completion must be evaluated. This can be done by adding the
|
Once installed, bash_completion must be evaluated. This can be done by adding the
|
||||||
following line to the .bash_profile
|
following line to the .bash_profile
|
||||||
|
|
||||||
$ source $(brew --prefix)/etc/bash_completion
|
$ source $(brew --prefix)/etc/bash_completion
|
||||||
|
|
||||||
|
If bash-completion is not installed on Linux, please install the 'bash-completion' package
|
||||||
|
via your distribution's package manager.
|
||||||
|
|
||||||
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2`)
|
Note for zsh users: [1] zsh completions are only supported in versions of zsh >= 5.2`)
|
||||||
|
|
||||||
completionExample = dedent.Dedent(`
|
completionExample = dedent.Dedent(`
|
||||||
|
|||||||
Reference in New Issue
Block a user