From 80ee8996de46c1012cee8b885f7a46eca9f51cf8 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Thu, 1 Jun 2023 11:35:50 +0100 Subject: [PATCH] Speed up zsh startup Signed-off-by: Marcus Noble --- home/.dotfiles/1-zsh | 1 - home/.dotfiles/giantswarm | 1 - home/.zshrc | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/home/.dotfiles/1-zsh b/home/.dotfiles/1-zsh index 36dc4ca..a3c477e 100644 --- a/home/.dotfiles/1-zsh +++ b/home/.dotfiles/1-zsh @@ -3,7 +3,6 @@ export ZSH="$HOME/.oh-my-zsh" plugins=( zsh-syntax-highlighting ) -autoload -U compinit # Use this setting if you want to disable marking untracked files under VCS as dirty. # This makes repository status checks for large repositories much, much faster. diff --git a/home/.dotfiles/giantswarm b/home/.dotfiles/giantswarm index a8d010b..1fa04f2 100644 --- a/home/.dotfiles/giantswarm +++ b/home/.dotfiles/giantswarm @@ -4,4 +4,3 @@ which devctl &>/dev/null && screen -dm bash -c 'devctl version update' which kubectl-gs &>/dev/null && screen -dm bash -c 'kubectl-gs selfupdate' which opsctl &>/dev/null && opsctl completion zsh > /usr/local/share/zsh/site-functions/_opsctl which devctl &>/dev/null && devctl completion zsh > /usr/local/share/zsh/site-functions/_devctl -rm -f ~/.zcompdump; compinit diff --git a/home/.zshrc b/home/.zshrc index 586ee98..d44f42d 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -1,3 +1,5 @@ +DISABLE_AUTO_UPDATE="true" + PATH_DIRS=( "${HOME}/.bin" "${KREW_ROOT:-${HOME}/.krew}/bin"