1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-12 05:40:17 +00:00

implement autocompletion for kubectl

This commit is contained in:
Luna 2022-04-11 11:37:50 +02:00
parent 6b1138aad6
commit 662e165e60
No known key found for this signature in database
GPG key ID: DE9E9D23CD19A149
2 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,6 @@ alias \
zshrc='source ~/.zshrc' \
dps='docker ps -a --format "table {{.Names}}\t{{.Image}}\t{{.Status}}"' \
c='docker compose' \
kubectl="minikube kubectl --" \
lla='ls -lha' \
cp='cp -iv' \
rm='rm -iv' \

View file

@ -0,0 +1,5 @@
autoload -Uz compinit && compinit
if type "kubectl" > /dev/null; then
source <(kubectl completion zsh)
fi