win10 mingw64 注册表
注册表
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64] @="open with mingw64" "Icon"="C:\\msys64\\mingw64.ico" [HKEY_CLASSES_ROOT\Directory\Background\shell\mingw64\command] @="\"C:\\msys64\\mingw64.exe\" \"C:\\msys64\\dir.sh\" \"%V\""
dir.sh 脚本
# echo $1 # dir=$1 # dir=${dir/:/} # dir=${dir//\\//} # cd /$dir # echo $1 /bin/bash