Hacker News new | ask | show | jobs
by withinboredom 1954 days ago
I wanted to use a different ssh-agent on OSx which is a very simple "I want to set a global environment variable." That's literally impossible in OSX. So, I had to open a shell and every app that I wanted to use my ssh-agent had to be launched from that shell.
1 comments

It's not impossible at all, you can just set it through `launchctl` as shown in this StackOverflow: https://stackoverflow.com/questions/135688/setting-environme...
ah, nice! I haven't tried to figure this out since Yosemite was new and it looks like there's now instructions for how to do it. Thanks for this! If I ever have to go back to OSX, now I know!