(this is to document a specific behavior that may affect users mixing windows and wsl for work)
I use a hierarchy of directories with .envrc in them to manage environment.
file content is like
export BASE_URL="url"
source_env_if_exists .terraform-state
First line works, second appears to be not doing anything. source_env_if_exists
is direnv library call (https://github.com/direnv/direnv/blob/master/stdlib.sh)
Local environment is WSL2(Ubuntu), where the file is part of directory checked out on windows but used with in WSL