diff --git a/docs/02-client-tools.md b/docs/02-client-tools.md index 7f0a2a0..d23605c 100644 --- a/docs/02-client-tools.md +++ b/docs/02-client-tools.md @@ -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