Skip to content

Commit f0a7b45

Browse files
authored
Merge pull request #36215 from tengqm/revert-36114-k_completion
Revert "Updated kubectl completion configuration"
2 parents e29d675 + f15ab32 commit f0a7b45

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
@@ -55,7 +55,7 @@ bash-completion sources all completion scripts in `/etc/bash_completion.d`.
5555
{{< /note >}}
5656

5757
Both approaches are equivalent. After reloading your shell, kubectl autocompletion should be working.
58-
To enable bash autocompletion in current session of shell, run `exec bash`:
58+
To enable bash autocompletion in current session of shell, source the ~/.bashrc file:
5959
```bash
60-
exec bash
60+
source ~/.bashrc
6161
```

0 commit comments

Comments
 (0)