Skip to content

Commit

Permalink
Run the terminal as a login shell on macOS
Browse files Browse the repository at this point in the history
Fixes #22971
  • Loading branch information
Tyriar committed Mar 21, 2017
1 parent 383d105 commit f574b11
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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': {
Expand Down

0 comments on commit f574b11

Please sign in to comment.