Merge pull request #36114 from mk46/k_completion
Updated kubectl completion configurationpull/36205/head
commit
bf712dd35d
|
@ -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