1
0

add k8s completion and alias

This commit is contained in:
2021-10-01 10:22:25 +03:00
parent 54ae3affd0
commit deed34735d
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
#!/bin/zsh
alias k=kubectl

View File

@@ -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