I thought I had it set correctly. I was using a .plist:
I don't really use Save or Save As, but merely command-S so never noticed. Anytime I used a plugin, the save prompt appeared native so I thought it was ok. After trying the plugin to set env variables it looked set ok, but seems I just had to disable and renable again and now it's fine.