Updated kubectl completion configuration
This commit is contained in:
parent
6f9487440d
commit
7151102e11
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue