A few updates based on MacOS testing

This commit is contained in:
Justin Santa Barbara 2016-10-21 21:39:25 -04:00
parent 689c4b02b4
commit 500aec5eed
1 changed files with 5 additions and 2 deletions

View File

@ -102,6 +102,9 @@ source <(kubectl completion bash)
To add kubectl autocompletion to your profile (so it is automatically loaded in future shells):
```shell
echo "source $(brew --prefix)/etc/bash_completion" >> ~/.bashrc
echo "source <(kubectl completion bash)" >> ~/.bashrc
echo "source $(brew --prefix)/etc/bash_completion" >> ~/.bash_profile
echo "source <(kubectl completion bash)" >> ~/.bash_profile
```
Please note that this only appears to work currently if you install using `brew install kubectl`,
and not if you downloaded kubectl directly.