diff --git a/.config/zsh/alias/k8s.zsh b/.config/zsh/alias/k8s.zsh new file mode 100644 index 0000000..5398569 --- /dev/null +++ b/.config/zsh/alias/k8s.zsh @@ -0,0 +1,3 @@ +#!/bin/zsh + +alias k=kubectl diff --git a/.config/zsh/completion/k8s.zsh b/.config/zsh/completion/k8s.zsh new file mode 100644 index 0000000..d87bfaa --- /dev/null +++ b/.config/zsh/completion/k8s.zsh @@ -0,0 +1,8 @@ +#!/bin/zsh + +__z_comp_kubectl() { + command kubectl completion zsh +# complete -F __start_kubectl k +} +__z_comp_external kubectl __z_comp_kubectl +unset -f __z_comp_kubectl