Atom init file: when setting an environment variable, atom resets it


I have this in my init.js:

process.env.TMUX = 'no-tmux'

I know this line executes (because I have tried putting a console.log in there), but once the window loads and all the packages have loaded up, if I open the devtools, and inspect process.env.TMUX, it is undefined. When/where did it get reset?


I just added process.env.TEST = 'foo' to the end of my and it shows up fine. You may have a package installed that overwrites your environment?