mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 06:26:39 +00:00
feat(kubernetes): add and lazy-load kubectx switcher tool
This commit is contained in:
1
Brewfile
1
Brewfile
@@ -173,6 +173,7 @@ if hostname == 'noct'
|
||||
brew 'jsonnet-bundler'
|
||||
brew 'kubernetes-cli'
|
||||
brew 'kubernetes-helm'
|
||||
brew 'kubectx'
|
||||
brew 'mariadb'
|
||||
cask 'lens'
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user