Skip to content

Commit 87ef86b

Browse files
Fixes Issue mentioned here: #35931
Adding functionality for bash autocompletion in current session
1 parent 4b77bee commit 87ef86b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/en/docs/tasks/tools/included/optional-kubectl-configs-bash-linux.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ bash-completion sources all completion scripts in `/etc/bash_completion.d`.
5151
{{< /note >}}
5252

5353
Both approaches are equivalent. After reloading your shell, kubectl autocompletion should be working.
54+
To enable bash autocompletion in current session of shell, source the ~/.bashrc file:
55+
```bash
56+
source ~/.bashrc
57+
```

0 commit comments

Comments
 (0)