I can't figure out how to set environment variables globally on macOS 10.15 (Catalina) – that is, not only for a shell in that shell's initialisation file, but for all applications launched by launchd. Surely this must be possible?

man launchctl only tells me that launchctl setenv will propagate the set variables to all children of the current context, but I didn't even get that to work.

@Xjs another secretly or accidentally "deprecated" macOS feature?

Sign in to participate in the conversation – a Fediverse instance for & by the Chaos community