> One of the best zsh tweaks I've done was setting
ZDOTDIR="${XDG_CONFIG_HOME}/zsh"
Congratulations, you have just broken your zsh configuration.
$XDG_CONFIG_HOME may not be set (e.g. when logging with SSH or in console, and
even not always in X11).