atom-open-terminal-here
atom-open-terminal-here copied to clipboard
Should default to opening PowerShell on Windows 10 instead of CMD.exe
On Windows 10, the OS suggests/prefers that you use PowerShell as a replacement for CMD.exe. This package, however, only opens CMD.exe, even if you have Windows set up to open PowerShell instead of CMD.exe. It would be great if you could fix this.
It would also be great if you could give the option to open the new Bash on Ubuntu on Windows shell that is available in Windows 10.
Thanks for your report, @Peteous
As a quick fix, in the open-terminal-here
settings, you can set the Command
to a different one than the default start /D "%cd%" cmd
.
Long term, we should modify the platform specific switch for the default command and check the Windows version. Since testing on Windows is a little more involving for me, I'm looking forward to any pull request. :)
I've just replaced cmd
with the path to Git Bash in
.atom\packages\open-terminal-here\index.coffee
# defaultCommand = 'start /D "%cd%" cmd'
defaultCommand = 'start /D "%cd%" D:\\Soft\\DEV\\Git\\bin\\sh.exe --login -i'
and it works. But it really would be great to have an option for that.
Anyway thanks for plugin! Now work in Atom become even more enjoyable (-:
@yanakey That‘s cool