Skip to content

Instantly share code, notes, and snippets.

@coldfix
Forked from magthe/msys2.reg
Last active June 1, 2020 17:06
Show Gist options
  • Save coldfix/5a9decff7ebf0d14867eb0cdeb57bd22 to your computer and use it in GitHub Desktop.
Save coldfix/5a9decff7ebf0d14867eb0cdeb57bd22 to your computer and use it in GitHub Desktop.
MSYS2 "Open Here" registry settings
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw32]
@="MinGW &32 Bash Here"
"Icon"="\"C:\\msys64\\mingw32.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64]
@="MinGW &64 Bash Here"
"Icon"="\"C:\\msys64\\mingw64.exe\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\msys2]
@="MSYS2 Bash Here"
"Icon"="\"C:\\msys64\\msys2.ico\""
[HKEY_CLASSES_ROOT\Folder\shell\mingw32]
@="MinGW &32 Bash Here"
"Icon"="\"C:\\msys64\\mingw32.exe\""
[HKEY_CLASSES_ROOT\Folder\shell\mingw64]
@="MinGW &64 Bash Here"
"Icon"="\"C:\\msys64\\mingw64.exe\""
[HKEY_CLASSES_ROOT\Folder\shell\msys2]
@="MSYS2 Bash Here"
"Icon"="\"C:\\msys64\\msys2.ico\""
[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw32\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MINGW32; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
[HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MINGW64; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
[HKEY_CLASSES_ROOT\Directory\Background\shell\msys2\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MSYS; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
[HKEY_CLASSES_ROOT\Folder\shell\mingw32\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MINGW32; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
[HKEY_CLASSES_ROOT\Folder\shell\mingw64\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MINGW64; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
[HKEY_CLASSES_ROOT\Folder\shell\msys2\command]
@="c:\\msys64\\usr\\bin\\mintty.exe /bin/bash -lc 'export MSYSTEM=MSYS; cd \"$(cygpath \"%V/\")\"; export CHERE_INVOKING=1; exec bash --login -i'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment