I can't seem to find a way to change Atom-ide's default terminal to WSL.
Ability to change default terminal and environment to WSL.
I couldn't find a way to change it.
I'm not sure where home directory is on windows, but you should be able to follow directions here to specify a custom shell command: https://nuclide.io/docs/features/terminal/#custom-shell.
for the interested, here's the line that implements the logic: https://github.com/facebook-atom/atom-ide-ui/blob/master/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/pty-service/shellConfig.js#L32
You can use that custom shell logic on Windows. Create the file under %userprofile%
You'll want to specify something like this:
{
"command": [
"C:\\windows\\system32\\cmd.exe",
"/c",
"bash"
]
}
Most helpful comment
I'm not sure where home directory is on windows, but you should be able to follow directions here to specify a custom shell command: https://nuclide.io/docs/features/terminal/#custom-shell.
for the interested, here's the line that implements the logic: https://github.com/facebook-atom/atom-ide-ui/blob/master/modules/atom-ide-ui/pkg/atom-ide-terminal/lib/pty-service/shellConfig.js#L32