Fixes Issue mentioned here: https://github.com/kubernetes/website/issues/35931
Adding functionality for bash autocompletion in current sessionpull/35979/head
parent
4b77bee45c
commit
87ef86b8f2
|
|
@ -51,3 +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:
|
||||
```bash
|
||||
source ~/.bashrc
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue