changed to reload .bashrc

Changed from spawning a new shell to reloading .bashrc
This commit is contained in:
Denis Salamanca
2018-06-10 22:12:25 -06:00
committed by GitHub
parent eccbebc502
commit c287801a5b

View File

@@ -102,7 +102,7 @@ sudo mv kubectl /usr/local/bin/
The following steps will enable shell tab completion on kubectl while using bash: The following steps will enable shell tab completion on kubectl while using bash:
``` ```
echo "source <(kubectl completion bash)" >> ~/.bashrc && bash echo "source <(kubectl completion bash)" >> ~/.bashrc && .~/.bashrc
``` ```
>You can also omit the "&& bash" and reload the shell later. >You can also omit the "&& bash" and reload the shell later.
>This will only enable tab completion for your current user. >This will only enable tab completion for your current user.