Fix being loaded from a function (antigen)

Fixes https://github.com/Tarrasch/zsh-autoenv/issues/14