From 9d1b56ddb3292ed6f1b33713b30dc86bf042454b Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 25 Nov 2024 13:39:49 -0600 Subject: [PATCH] needless modifications --- home/private_dot_config/zsh/dot_zshrc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/home/private_dot_config/zsh/dot_zshrc b/home/private_dot_config/zsh/dot_zshrc index fb31727..daf182b 100644 --- a/home/private_dot_config/zsh/dot_zshrc +++ b/home/private_dot_config/zsh/dot_zshrc @@ -5,8 +5,17 @@ [[ -d ${ZDOTDIR:-~}/.antidote ]] || git clone https://github.com/mattmc3/antidote ${ZDOTDIR:-~}/.antidote -source ${ZDOTDIR:-~}/.antidote/antidote.zsh -antidote load + +# antidote load +# a "faster" antidote load +zplugins=${ZDOTDIR:-~}/.zplugins +if [[ ! ${zplugins}.zsh -nt $zplugins ]]; then + ( + source ${ZDOTDIR:-~}/.antidote/antidote.zsh + antidote bundle <${zplugins} > ${zplugins}.zsh + ) +fi +source ${zplugins}.zsh path=( $HOME/{,.dotfiles/}{,s}bin(N)