Open MrPicklePinosaur opened 8 months ago
If the user doesn't call Env::load explicitly, we literally have no environment variables, which causes issues for things like cd, which uses HOME. Thus, we should implement a Env::default that does it's best to populate some important env vars.
Env::load
cd
HOME
Env::default
Interested in taking a look at this. What ENVs would we want? I was thinking PATH, HOME, USER, and SHELL. Any suggestions?
What would you like to see added?
If the user doesn't call
Env::load
explicitly, we literally have no environment variables, which causes issues for things likecd
, which usesHOME
. Thus, we should implement aEnv::default
that does it's best to populate some important env vars.