Speed up zsh load time

This commit is contained in:
Jeremy Dormitzer 2023-09-22 12:12:45 -04:00
parent 479c7aa8e9
commit 9f8d08c41d

View File

@ -1,3 +1,12 @@
# Speed up startup by restricting compinit dump file check to once per day
# https://gist.github.com/ctechols/ca1035271ad134841284#gistcomment-2308206
autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(#qN.mh+24) ]]; then
compinit;
else
compinit -C;
fi;
export INFOPATH="$HOME/info:/opt/homebrew/share/info:"
export LEDGER_FILE="$HOME/journal.ledger"