1. atom_msys2_shell.batファイルをC:\MinGW64\msys64に配置、バッチの内容は以下のとおり:
@echo off setlocal rem Set full path to Mingw64 set "WD=C:\MinGW64\msys64" if NOT EXIST "%WD%msys-2.0.dll" set "WD=%WD%\usr\bin\" set MSYSTEM=MINGW64 set MSYS2_PATH_TYPE=inherit if "x%~1" == "x-msys" shift& set MSYSTEM=MSYS& goto :startsh if "x%~1" == "x-mingw32" shift& set MSYSTEM=MINGW32& goto :startsh if "x%~1" == "x-mingw64" shift& set MSYSTEM=MINGW64& goto :startsh :startsh set MSYSCON= "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
2.Atom にTerminal Plugin をインストール
3.Terminal Pluginの設定項目で、"Shell Override"をPowerShellのままにする
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
4."Shell Arguments" の設定項目を以下のように変更
cmd /c C:\MinGW64\msys64\atom_msys2_shell.bat
5.Shift + Alt + T でターミナル起動してみる!
__English ver.__
For user who wants to use Atom with MING64 msys terminal in Atom editor:
1. First create a batch file named "atom_msys2_shell.bat" like the following and put it to your MINGW64 dir (e.g: C:\MinGW64\msys64 )
@echo off setlocal rem Set full path to Mingw64 set "WD=C:\MinGW64\msys64" if NOT EXIST "%WD%msys-2.0.dll" set "WD=%WD%\usr\bin\" set MSYSTEM=MINGW64 set MSYS2_PATH_TYPE=inherit if "x%~1" == "x-msys" shift& set MSYSTEM=MSYS& goto :startsh if "x%~1" == "x-mingw32" shift& set MSYSTEM=MINGW32& goto :startsh if "x%~1" == "x-mingw64" shift& set MSYSTEM=MINGW64& goto :startsh :startsh set MSYSCON= "%WD%bash" --login %1 %2 %3 %4 %5 %6 %7 %8 %9
2. Install Terminal Plus plugin to Atom editor
3. If "Shell Override" is not set to powershell please set it to powershell (default value)
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
4. In "Shell Arguments" please set the following comman
cmd /c C:\MinGW64\msys64\atom_msys2_shell.bat