`launchctl setenv` no longer sets env variable in 3.2.8

Thanks for filing an issue! Please answer the questions below so I can help you.

Detailed steps to reproduce the problem:

  1. launchctl setenv hello world
  2. Quit iTerm2 completely
  3. Start it again and type echo $hello

What happened: $hello environment variable is not set

What should have happened: hello should be set to world

This works just fine in iTerm2 3.2.7

Also, I verified that setting the variable via launchtl setenv in a different terminal app WILL reflect correctly in iTerm 3.2.8 after. So it is the setting that is broken.

Edited by Ghost User