Merge pull request #41138 from Arhell/pt-add

[pt] Fix kubectl auto complete
pull/41085/head
Kubernetes Prow Robot 2023-05-14 21:11:27 -07:00 committed by GitHub
commit 0c61edfb87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ echo 'source <(kubectl completion bash)' >>~/.bashrc
{{< /tab >}}
{{< tab name="System" codelang="bash" >}}
kubectl completion bash | sudo tee /etc/bash_completion.d/kubectl > /dev/null
sudo chmod a+r /etc/bash_completion.d/kubectl
{{< /tab >}}
{{< /tabs >}}