Merge pull request #36215 from tengqm/revert-36114-k_completion

Revert "Updated kubectl completion configuration"
pull/39355/head
Kubernetes Prow Robot 2023-02-08 09:25:02 -08:00 committed by GitHub
commit f0a7b452b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ bash-completion sources all completion scripts in `/etc/bash_completion.d`.
{{< /note >}}
Both approaches are equivalent. After reloading your shell, kubectl autocompletion should be working.
To enable bash autocompletion in current session of shell, run `exec bash`:
To enable bash autocompletion in current session of shell, source the ~/.bashrc file:
```bash
exec bash
source ~/.bashrc
```