[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:
parent
693f4b7dd1
commit
e2d868889b
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue