Merge e5e10c4c04
into bf2850974e
commit
8f5d6ab1e0
|
@ -99,6 +99,14 @@ chmod +x kubectl
|
||||||
```
|
```
|
||||||
sudo mv kubectl /usr/local/bin/
|
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
|
### Verification
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue