Speed up zsh load time
This commit is contained in:
parent
479c7aa8e9
commit
9f8d08c41d
@ -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 INFOPATH="$HOME/info:/opt/homebrew/share/info:"
|
||||||
|
|
||||||
export LEDGER_FILE="$HOME/journal.ledger"
|
export LEDGER_FILE="$HOME/journal.ledger"
|
||||||
|
Loading…
Reference in New Issue
Block a user