mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-07-09 13:23:02 +00:00
3 lines
134 B
Bash
3 lines
134 B
Bash
#compdef kubens kns=kubens
|
|
_arguments "1: :(- $(kubectl get namespaces -o=jsonpath='{range .items[*].metadata.name}{@}{"\n"}{end}'))"
|