Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 396 Bytes
{
# Compile the completion dump to increase startup speed.
zcompdump="$HOME/.zcompdump"
if [[ "$zcompdump" -nt "$zcompdump.zwc" || ! -s "$zcompdump.zwc" ]]; then
zcompile "$zcompdump"
fi
# Set environment variables for launchd processes.
if [[ "$OSTYPE" == darwin* ]]; then
for env_var in PATH MANPATH; do
launchctl setenv "$env_var" "${(P)env_var}"
done
fi
} &!