Summary
We should collect a set of environment variables that are always passed up regardless of the configured loadout or minimal.toml. The idea is to have sane defaults so users don't have to manually enumerate common interactive/shell env vars.
Motivation
From discussion:
- There's a set of env vars that is implied for interactive sessions — similar to what SSH passes by default for interactive/shell sessions (e.g. all the
LC_* vars, TERM, etc.).
- Some packages (e.g. Go) spec a set of env vars that should be passed through.
- Sane defaults here would improve the out-of-the-box experience.
Proposed work
Context
Originating from a Slack discussion about whether to collect a set of env that should be passed up regardless of loadout/minimal.toml.
Summary
We should collect a set of environment variables that are always passed up regardless of the configured loadout or
minimal.toml. The idea is to have sane defaults so users don't have to manually enumerate common interactive/shell env vars.Motivation
From discussion:
LC_*vars,TERM, etc.).Proposed work
TERM,LC_*,LANG, and similar).SendEnv/AcceptEnvdefaults, Go's documented env vars) for reference.minimal.toml.Context
Originating from a Slack discussion about whether to collect a set of env that should be passed up regardless of loadout/
minimal.toml.