mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 09:26:42 +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 'jsonnet-bundler'
|
||||||
brew 'kubernetes-cli'
|
brew 'kubernetes-cli'
|
||||||
brew 'kubernetes-helm'
|
brew 'kubernetes-helm'
|
||||||
|
brew 'kubectx'
|
||||||
brew 'mariadb'
|
brew 'mariadb'
|
||||||
cask 'lens'
|
cask 'lens'
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,12 @@ if command-exists kubectl; then
|
|||||||
eval "$(command kubectl completion zsh)"
|
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 ice wait lucid as'program' from'gh-r'
|
||||||
zinit light stackrox/kube-linter
|
zinit light stackrox/kube-linter
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user