This handled (re)loading autoenv for ZDOTDIR=tests/ZDOTDIR.loadviafunction.
Fixes https://github.com/Tarrasch/zsh-autoenv/issues/14