[pt] Fix kubectl auto complete

pull/41138/head
Arhell 2023-05-15 04:48:42 +03:00
parent c6ff7b40db
commit defe7331b9
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 >}}