Updated kubectl completion configuration

This commit is contained in:
Manish Kumar 2022-08-19 23:26:00 +05:30
parent 6f9487440d
commit 7151102e11
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,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, source the ~/.bashrc file:
To enable bash autocompletion in current session of shell, run `exec bash`:
```bash
source ~/.bashrc
exec bash
```