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

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

#1

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

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

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


#3

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

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


#4

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

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

#5

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