Skip to content

Commit f15ab32

Browse files
authored
Revert "Updated kubectl completion configuration"
1 parent 28b1854 commit f15ab32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +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, run `exec bash`:
54+
To enable bash autocompletion in current session of shell, source the ~/.bashrc file:
5555
```bash
56-
exec bash
56+
source ~/.bashrc
5757
```

0 commit comments

Comments
 (0)