feat: bash-completion, remove zsh
This commit is contained in:
parent
f2464c73f7
commit
d4d3c1af55
24 changed files with 41 additions and 1460 deletions
6
.local/share/bash-completion/completions/kns
Normal file
6
.local/share/bash-completion/completions/kns
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
function _kns() {
|
||||
mapfile -t COMPREPLY < <(compgen -W \
|
||||
"$(kubectl get namespace -o jsonpath='{..metadata.name}')" \
|
||||
-- "${COMP_WORDS[1]}")
|
||||
}
|
||||
complete -F _kns kns
|
||||
Loading…
Add table
Add a link
Reference in a new issue