You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chsh to powershell breaks the integrated terminal #25035
Install powershell on macOS. Add it to list of shells and set it as default terminal with chsh. (my current setup)
Run vscode and try to open the interactive terminal.
Expected
Terminal opens and shows powershell
Actual
Terminal crashes, because my settings now looks like this:
// The path of the shell that the terminal uses on OS X.
"terminal.integrated.shell.osx": "/usr/local/bin/powershell",
// The command line arguments to use when on the OS X terminal.
"terminal.integrated.shellArgs.osx": [
"-l"
],
And -l is not a valid powershell flag.
PowerShell equivalent of it is -noprofile.
Yeah this was one of the issues moving it over to run as a login shell by default. I think hard coding it to be either -l or -noprofile will be equally as confusing though. Right now the recommendation is to override your shellArgs to be [] if you're running powershell.
Activity
Tyriar commentedon Apr 19, 2017
Yeah this was one of the issues moving it over to run as a login shell by default. I think hard coding it to be either
-lor-noprofilewill be equally as confusing though. Right now the recommendation is to override yourshellArgsto be[]if you're running powershell.