Update with tab completion for kubectl

Update with tab completion for kubectl
This commit is contained in:
Denis Salamanca
2018-06-07 12:13:40 -06:00
committed by GitHub
parent b974042d95
commit eccbebc502

View File

@@ -99,6 +99,13 @@ chmod +x kubectl
```
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
```
>You can also omit the "&& bash" and reload the shell later.
>This will only enable tab completion for your current user.
### Verification