提交 f574b11a 编写于 作者: D Daniel Imms

Run the terminal as a login shell on macOS

Fixes #22971
上级 383d1054
......@@ -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': {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册