Update 02-client-tools.md

pull/363/head
Denis Salamanca 2018-06-11 10:24:58 -06:00 committed by GitHub
parent 52f14d747d
commit e5e10c4c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -104,8 +104,9 @@ The following steps will enable shell tab completion on kubectl while using bash
``` ```
echo "source <(kubectl completion bash)" >> ~/.bashrc && . ~/.bashrc 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. > 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 ### Verification