Reduce startup time a teeny bit more by compiling the zcompdump file in the background
This commit is contained in:
parent
7ccb1a7790
commit
48936c6915
3 changed files with 7 additions and 5 deletions
|
@ -1 +1,2 @@
|
|||
for f in $ZDOTDIR/login/*(-.N); source $f
|
||||
#! zsh
|
||||
for f in $ZDOTDIR/login/*(N); source $f
|
||||
|
|
|
@ -1 +1 @@
|
|||
for f in $ZDOTDIR/all/*(-.N); source $f
|
||||
for f in $ZDOTDIR/all/*(N); source $f
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
source $ZDOTDIR/zplugin
|
||||
for f in $ZDOTDIR/interactive/*; [[ -f $f ]] && source $f
|
||||
for f in $ZDOTDIR/interactive/*(N); source $f
|
||||
|
||||
autoload -Uz compinit
|
||||
autoload -Uz compinit zrecompile
|
||||
compinit -d $XDG_CACHE_HOME/zsh/zcompdump
|
||||
([[ $_comp_dumpfile.zwc -nt $_comp_dumpfile ]] || zcompile $_comp_dumpfile) &!
|
||||
|
||||
[[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(-.N); source $f
|
||||
[[ -o login ]] && for f in $ZDOTDIR/interactive+login/*(N); source $f
|
||||
|
|
Loading…
Reference in a new issue