Configure the supported software to use the XDG Base Directory specification.
In my zshenv I have a lot of variables (inspired by xdg-basedirs). This slows the terminal when opening it.
What is a better way to make supported software use the XDG base directory specification?
.zshenv is the safest place because it's always sourced for all instances of zsh, but it should be kept as small as possible. You can probably move those variables to .zprofile (or .zlogin).