1
0
Fork 0
mirror of synced 2024-11-13 19:48:58 -05:00

[completion] Don't zcompile the zcompdump file

as this is already being done in `zlogin`. Centralizing all the
compilation in one place.
This commit is contained in:
Eric Nielsen 2017-09-26 17:16:26 -05:00
parent 693f4b7dd1
commit e2d868889b

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