Bash on Ubuntu on Windows on Atom... :)

I thought I’d share how I got this to work for those of you who have to use a Windows computer but would like to use a linux terminal from within your code editor… I also tried this in Visual Studio Code and it worked so it should work in other code editors as well…

Bash on Ubuntu on Windows on Atom… :slight_smile:

Within Atom I used the platformio-ide-terminal package and within the packages settings I added the following to the Shell Override field…

C:\\WINDOWS\\sysnative\\bash.exe

2 Likes

This is a great tip. Thanks Johnny! I’m 100% going to be doing this!

Bash on Windows. Who’d have thunk it?!

For Visual Studio Code, the setting to change is: “terminal.integrated.shell.windows”

Change its value to: “C:\WINDOWS\sysnative\bash.exe”

1 Like

Thanks jocharles57. :slight_smile: Just make sure you use double backslashes though.

"C:\\Windows\\sysnative\\bash.exe"

Are you using Windows Subsystem Linux?

I set the Shell Override to:

C:\Program Files\Git\usr\bin\bash.exe

for it to work with Git Bash.

Using Win10, having used the Git installer for Git 2.16.2-64-bit and Atom 1.25.0

Such a nice and useful tips…Thank you Johnny!