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

前端 未结 5 1751
情书的邮戳
情书的邮戳 2021-02-04 09:27

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

相关标签:
5条回答
  • 2021-02-04 09:57

    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.

    0 讨论(0)
  • 2021-02-04 10:07

    For CYGWIN users, the bash executable from the following location has proved useful for setting the shell override Settings >> Packages >> Platformio Ide Terminal >> Settings >> Shell Override

    C:\cygwin64\bin\bash.exe
    
    0 讨论(0)
  • 2021-02-04 10:18

    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
    
    0 讨论(0)
  • 2021-02-04 10:19

    For someone who still can't get this to work because your git bash is installed in AppData. This worked for me.

    C:\Users\saurabh\AppData\Local\Programs\Git\bin\bash.exe

    0 讨论(0)
  • 2021-02-04 10:24

    If you are now using Ubuntu for Windows 10 (downloaded from the app store), you can change it to that as well.

    Ubuntu gets installed in Windows' PATH by default, so just change the default shell to:

    ubuntu.exe
    

    That's it. Just remember that to get to your code, cd to /mnt/(driveletter)/wherever/your/files/sit.

    0 讨论(0)
提交回复
热议问题