2023-05-04 13:47:49 +00:00
|
|
|
#!/usr/bin/env zsh
|
2019-05-01 03:29:37 +00:00
|
|
|
# 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.
|
|
|
|
#
|
2020-08-21 22:01:04 +00:00
|
|
|
zcompdump="${ZSH_CACHE}/zcompdump"
|
2019-05-01 03:29:37 +00:00
|
|
|
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
|
|
|
|
zcompile "$zcompdump"
|
|
|
|
fi
|
|
|
|
} &!
|
|
|
|
env_loader zlogin
|