mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-15 23:03:40 +00:00
improve kubectl completion help
Signed-off-by: Xianglin Gao <xianglin.gxl@alibaba-inc.com>
This commit is contained in:
parent
1a75395da8
commit
7398219549
@ -67,6 +67,8 @@ var (
|
|||||||
|
|
||||||
|
|
||||||
# Installing bash completion on Linux
|
# Installing bash completion on Linux
|
||||||
|
## If bash-completion is not installed on Linux, please install the 'bash-completion' package
|
||||||
|
## via your distribution's package manager.
|
||||||
## Load the kubectl completion code for bash into the current shell
|
## Load the kubectl completion code for bash into the current shell
|
||||||
source <(kubectl completion bash)
|
source <(kubectl completion bash)
|
||||||
## Write bash completion code to a file and source if from .bash_profile
|
## Write bash completion code to a file and source if from .bash_profile
|
||||||
|
Loading…
Reference in New Issue
Block a user