Environment variables and such are always local, at least on all operating system I've seen so far.
If you try to make an OS run with global settings you'll quickly run into several problems: What happens when one process changes a variable? Is there a notification mechanism to tell everyone else? When an important variable changes in mid-air, does a process have to restart processing from the beginning?