changed to reload .bashrc
Changed from spawning a new shell to reloading .bashrcpull/363/head
parent
eccbebc502
commit
c287801a5b
|
@ -102,7 +102,7 @@ sudo mv kubectl /usr/local/bin/
|
|||
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.
|
||||
>This will only enable tab completion for your current user.
|
||||
|
|
Loading…
Reference in New Issue