kubectx
Summary
Section titled “Summary”Installs both kubectx (switch Kubernetes contexts) and kubens (switch Kubernetes namespaces) from a single GitHub release.
Syntax / Usage
Section titled “Syntax / Usage”zi for \ bpick'kubectx;kubens' \ from'gh-r' \ sbin'kubectx;kubens' \ ahmetb/kubectxDetails
Section titled “Details”from'gh-r'— downloads the release assets from GitHub Releases.bpick'kubectx;kubens'— selects both thekubectxandkubensassets from the release (semicolon-separated list).sbin'kubectx;kubens'— creates shims for both binaries (requireszinit-annex-bin-gem-node).
The annex zdharma-continuum/zinit-annex-bin-gem-node must be loaded before this recipe.
Examples
Section titled “Examples”# prerequisite — load once at the top of .zshrczinit light-mode for zdharma-continuum/zinit-annex-bin-gem-node
zi for \ bpick'kubectx;kubens' \ from'gh-r' \ sbin'kubectx;kubens' \ ahmetb/kubectx