Speed up zsh startup

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2023-06-01 11:35:50 +01:00
parent 3d1da1e586
commit 80ee8996de
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
3 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,6 @@ export ZSH="$HOME/.oh-my-zsh"
plugins=( plugins=(
zsh-syntax-highlighting zsh-syntax-highlighting
) )
autoload -U compinit
# Use this setting if you want to disable marking untracked files under VCS as dirty. # 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. # This makes repository status checks for large repositories much, much faster.

View File

@ -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 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 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 which devctl &>/dev/null && devctl completion zsh > /usr/local/share/zsh/site-functions/_devctl
rm -f ~/.zcompdump; compinit

View File

@ -1,3 +1,5 @@
DISABLE_AUTO_UPDATE="true"
PATH_DIRS=( PATH_DIRS=(
"${HOME}/.bin" "${HOME}/.bin"
"${KREW_ROOT:-${HOME}/.krew}/bin" "${KREW_ROOT:-${HOME}/.krew}/bin"