Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change terminal in Atom-editor's Platformio-Ide-Terminal on Windows

On Windows, default terminal for Atom's Platformio-Ide-Terminal is Powershell (at least, that is what I get without any configuration).

I would prefer a terminal using unix-type commands. I already have MINGW and CYGWIN installed.

How can I avoid opening a Powershell and opening another terminal type instead?

like image 546
jvtrudel Avatar asked Feb 16 '17 14:02

jvtrudel


2 Answers

Set the default shell in: Edit>>Settings>>Packages>>Platformio Ide Terminal>>Settings>>Shell Override

You can use the git's bash as proposed here as you probably already have git installed.

C:\Program Files\Git\bin\bash.exe
like image 155
jvtrudel Avatar answered Sep 16 '22 19:09

jvtrudel


Step by Step Solution

  1. Go the Setting-> Packages -> In Search Bar, search for the platformio.
  2. Open platformio and go to Shell Override Option.

Put the following line as per as your Terminal Requirement

For cmd- C:\\WINDOWS\\System32\\cmd.exe

For Power Shell- C:\\WINDOWS\\Sysnative\\WndowsPowerShell\\v1.0\\powershell.exe

For bash- C:\\Program Files\\Git\\bin\\bash.exe or C:\\Windows\\System32\\bash.exe (depending on how you install the bash). Be Sure, that you have already install the bash into your computer.

Now, you can integrate bash, cmd, git bash, Power Shell into Atom using platformio as terminal.

like image 28
Yash Avatar answered Sep 18 '22 19:09

Yash