pull/363/merge
Denis Salamanca 2018-09-30 20:03:44 +00:00 committed by GitHub
commit 8f5d6ab1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -99,6 +99,14 @@ 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 && . ~/.bashrc
```
> This will only enable tab completion for your current user.
> You can also run `echo "source <(kubectl completion bash)" >> /etc/profile.d/kubectl_completion.sh . /etc/profile` to get tab completion for all users.
### Verification