1
0
Fork 0
mirror of synced 2024-11-22 15:25:34 -05:00

[completion] Don't zcompile the zcompdump file

as this is already being done in `zlogin`. Centralizing all the
compilation in one place.

Closes #218
This commit is contained in:
Eric Nielsen 2017-09-26 17:16:26 -05:00
parent ab3b20f8cd
commit 8ba34e68e5

View file

@ -21,17 +21,6 @@ autoload -Uz compinit && compinit -C -d "${ZDOTDIR:-${HOME}}/${zcompdump_file:-.
# set any compdefs
source ${0:h}/compdefs.zsh
{
# zcomple the .zcompdump in the background
zcompdump=${ZDOTDIR:-${HOME}}/.zcompdump
if [[ -s ${zcompdump} && ( ! -s ${zcompdump}.zwc || ${zcompdump} -nt ${zcompdump}.zwc) ]]; then
zcompile ${zcompdump}
fi
unset zcompdump
} &!
#
# zsh options