James Patrick
829f30540e
The issue was stemming from racecondition betwwen then completion function which uses the complete file, and the zsh_users/completions plug that defined them. Also relocated transient -> cache.
17 lines
429 B
Bash
17 lines
429 B
Bash
# vim: syn=zsh
|
|
|
|
# Executes commands at login post-zshrc.
|
|
#
|
|
# Execute code that does not affect the current session in the background.
|
|
|
|
( autoload -Uz colors && colors ) &!
|
|
{
|
|
# Compile the completion dump to increase startup speed.
|
|
#
|
|
zcompdump="${ZSH_CACHE}/zcompdump"
|
|
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
|
|
zcompile "$zcompdump"
|
|
fi
|
|
} &!
|
|
env_loader zlogin
|