diff --git a/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts b/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts index 516d38c88e1f64ec571ff2074c76a07a845d736f..633c1ff52d9259250e3eeafebab7331083bb5c62 100644 --- a/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts +++ b/src/vs/workbench/parts/terminal/electron-browser/terminal.contribution.ts @@ -64,7 +64,10 @@ configurationRegistry.registerConfiguration({ 'items': { 'type': 'string' }, - 'default': [], + // Unlike on Linux, ~/.profile is not sourced when logging into a macOS session. This + // is the reason terminals on macOS typically run login shells by default which set up + // the environment. See http://unix.stackexchange.com/a/119675/115410 + 'default': ['-l'], 'isExecutable': true }, 'terminal.integrated.shell.windows': {