feat(kubernetes): add and lazy-load kubectx switcher tool

This commit is contained in:
2021-08-30 22:45:14 +01:00
parent 65211fe1c8
commit 7e5739ed4c
2 changed files with 7 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ if hostname == 'noct'
brew 'jsonnet-bundler'
brew 'kubernetes-cli'
brew 'kubernetes-helm'
brew 'kubectx'
brew 'mariadb'
cask 'lens'

View File

@@ -13,6 +13,12 @@ if command-exists kubectl; then
eval "$(command kubectl completion zsh)"
}
switch() {
unset -f switch
source "$(brew --prefix switch)/switch.sh"
switch "$@"
}
zinit ice wait lucid as'program' from'gh-r'
zinit light stackrox/kube-linter