autostash appears to not restore/unset environment variables when changing out of a child directory instead of the directory where autostash is part of the .autoenv.zsh file.
Steps to reproduce:
export AUTOENV_LOOK_UPWARDS=1
Create a directory ~/env1
Create ~/env1/.autoenv.zsh with "autostash TEST=YES"
autostash appears to not restore/unset environment variables when changing out of a child directory instead of the directory where autostash is part of the .autoenv.zsh file.
Steps to reproduce:
Current behavior
-> echo $TEST is still YES
Expected behavior
-> echo $TEST is empty