dotfiles/home/dot_zlogin
2023-01-25 22:13:24 -07:00

14 lines
460 B
Text

#
# Executes commands at login post-zshrc.
#
# Execute code that does not affect the current session in the background.
{
# Compile the completion dump to increase startup speed.
zcompdump="${ZDOTDIR:-$HOME}/.zcompdump"
if [[ -s "$zcompdump" && (! -s "${zcompdump}.zwc" || "$zcompdump" -nt "${zcompdump}.zwc") ]]; then
zcompile "$zcompdump"
fi
} &!
# this seems like the easiest way to get a wsl startup script to work
2>/dev/null 1>/dev/null mpd