add k8s completion and alias
This commit is contained in:
parent
54ae3affd0
commit
deed34735d
3
.config/zsh/alias/k8s.zsh
Normal file
3
.config/zsh/alias/k8s.zsh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/zsh
|
||||
|
||||
alias k=kubectl
|
8
.config/zsh/completion/k8s.zsh
Normal file
8
.config/zsh/completion/k8s.zsh
Normal 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
|
Loading…
Reference in New Issue
Block a user