Run launchctl setenv FOO BAR in Terminal.app, then quit (Cmd-Q) and restart Terminal.
launchctl setenv FOO BAR