Update with tab completion for kubectl
Update with tab completion for kubectlpull/363/head
parent
b974042d95
commit
eccbebc502
|
@ -99,6 +99,13 @@ 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 && bash
|
||||||
|
```
|
||||||
|
>You can also omit the "&& bash" and reload the shell later.
|
||||||
|
>This will only enable tab completion for your current user.
|
||||||
|
|
||||||
### Verification
|
### Verification
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue