pacman -Syy
pacman -S openssh
pacman -S zsh # and setup with oh-my-zsh
Save this text as file named xxx.reg
, and double-click it. Done.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2]
@="Open MSYS2 here"
"icon"="d:\\msys64\\msys2.ico"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_msys2\command]
@="d:\\msys64\\usr\\bin\\mintty.exe /bin/sh -lc 'cd \"$(cygpath \"%V\")\"; exec zsh'"
[HKEY_CLASSES_ROOT\Folder\shell\open_msys2]
@="Open MSYS2 here"
"icon"="d:\\msys64\\msys2.ico"
[HKEY_CLASSES_ROOT\Folder\shell\open_msys2\command]
@="d:\\msys64\\usr\\bin\\mintty.exe /bin/sh -lc 'cd \"$(cygpath \"%V\")\"; exec zsh'"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64]
@="Open MINGW64 here"
"icon"="d:\\msys64\\mingw64.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\open_mingw64\command]
@="d:\\msys64\\mingw64.exe /bin/sh -lc 'cd \"$(cygpath \"%V\")\"; exec zsh'"