Tweak setLocaleVariables setting

- False now really means false
- The default is true for all platforms

Fixes #65037
This commit is contained in:
Daniel Imms
2018-12-13 18:07:10 -08:00
parent d236bfdd52
commit ece3a90fb5
5 changed files with 17 additions and 13 deletions

View File

@@ -409,8 +409,7 @@ export class ExtHostTerminalService implements ExtHostTerminalServiceShape {
// Continue env initialization, merging in the env from the launch
// config and adding keys that are needed to create the process
const locale = terminalConfig.get('setLocaleVariables') ? platform.locale : undefined;
terminalEnvironment.addTerminalEnvironmentKeys(env, locale);
terminalEnvironment.addTerminalEnvironmentKeys(env, platform.locale, terminalConfig.get('setLocaleVariables'));
// Fork the process and listen for messages
this._logService.debug(`Terminal process launching on ext host`, shellLaunchConfig, initialCwd, cols, rows, env);