mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
Improve shell start-up time by lazy-loading various tools
This commit is contained in:
@@ -7,5 +7,9 @@ alias hl="helm"
|
||||
alias mk="minikube"
|
||||
|
||||
if (( $+commands[kubectl] )); then
|
||||
eval "$(kubectl completion zsh)"
|
||||
# lazy-load kubectl setup
|
||||
_kubectl() {
|
||||
unset -f _kubectl
|
||||
eval "$(command kubectl completion zsh)"
|
||||
}
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user