Update with tab completion for kubectl

Update with tab completion for kubectl
pull/363/head
Denis Salamanca 2018-06-07 12:13:40 -06:00 committed by GitHub
parent b974042d95
commit eccbebc502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

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