can we open gitbash from atom text editor

Is there a way to open gitbash from within atom text editor. I want to have gitbash or other command line client in one of the panes.

6 Answers

Install

Then in package options

Shell Override: C:\Program Files\Git\bin\bash.exe

Shell Arguments: -l -i

Use git >= 2.7.3 for windows, bash starts up much faster.

You can do this using the PlatformIO IDE Terminal, with these settings:

Shell Override: C:\Program Files\Git\bin\sh.exe

Shell Arguments: --login

Yes we can!

You can also search "terminal-status" in your atom package manager.

Do remember to restart atom for terminal status to begin working. Happy Coding!

(Windows 10, terminal-plus v0.14.5 package, atom v1.8.0, git-bash 2.9.0.1), these quoted parts from the linked discussion work cleanly for me (original source: ):

Git Bash opens in new window on Windows (terminal-plus issue #117)

matthewcanty (2015-12-03): The default terminal is Powershell, but I want it to be Git Bash. I have set Shell Override to C:\Program Files\Git\git-bash.exe but this opens in a new window.

matthewcanty (2015-12-03, later answering & closing his own question):

Shell Override: C:\Program Files\Git\bin\sh.exe
Shell Arguments: --login
0

Another option is

Once installed, update the package settings:

Command: "C:\Program Files\Git\git-bash.exe"

You can do this using Nuclide Terminal, with these settings in $HOME/.nuclide-terminal.json

{ "command": [ "C:\\Program Files\\Git\\git-cmd.exe", "--command=usr/bin/bash.exe -l -i" ]
}

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like