Skip to content

Instantly share code, notes, and snippets.

@elieux
Created November 23, 2015 08:32
  • Star 39 You must be signed in to star a gist
  • Fork 12 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save elieux/ef044468d067d68040c7 to your computer and use it in GitHub Desktop.
MSYS2 here context menu items
Windows Registry Editor Version 5.00
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here]
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here]
[-HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here]
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MSYS here\command]
@="C:\\msys64\\msys2.exe bash"
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here\command]
@="C:\\msys64\\mingw64.exe bash"
[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW32 here\command]
@="C:\\msys64\\mingw32.exe bash"
@naveen521kk
Copy link

It would nice to update it for the ucrt64 repo 😉

@karamellpelle
Copy link

I added the -here option to msys2_shell.cmd (mingw64 only):

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\Directory\Background\shell\MINGW64 here\command]
@="C:\\ghcup\\msys64\\msys2_shell.cmd -mingw64 -here"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment