How are environment variables sourced in various distros