This commit is contained in:
theadam 2025-04-27 16:51:01 +02:00
parent fa3ef6387c
commit 8146838338

View file

@ -19,3 +19,13 @@ echo 'source <(kubectl completion bash)' >> ~/.bashrc
```
[source](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)
### k alias kubectl
Simply add this to `~/.bashrc`
```
alias k=kubectl
complete -F __start_kubectl k
```
[source](https://github.com/boltops-learn-docs/kubernetes-tips/blob/main/k-alias.md)