Skip to content

Instantly share code, notes, and snippets.

Avatar
😷
COVID-19 Lockdown

Haseeb Syed hollowmaster1496

😷
COVID-19 Lockdown
View GitHub Profile
@hollowmaster1496
hollowmaster1496 / msys2-shortcut.md
Last active Aug 27, 2019
Open MSYS2 terminal here (mingw-w64) from right-click menu
View msys2-shortcut.md

For anyone who develops software on Windows (but needs quick access to a Linux terminal), here's a quick and easy way to get it with MSYS2.

Before starting, install "MSYS2" with default settings.

  1. From Windows search, launch 'regedit.exe'
  2. Navigate to "HKEY_CLASSES_ROOT\Directory\Background\shell"
  3. Right-click on 'shell' and select New>Key. Call this key MSYS2.
  4. Now right-click on 'MSYS2' and select New>Key. Call this key command
  5. Select command and then double-click on (Default). Set 'Value data' to "C:\msys64\msys2_shell.cmd" "-here"