add_git_bash_to_menu.reg 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Windows Registry Editor Version 5.00
  2. ; 文件夹右键 → "Git Bash Here"
  3. [HKEY_CLASSES_ROOT\Directory\shell\gitbash]
  4. @="Git Bash Here"
  5. "Icon"="D:\\Git\\git-bash.exe"
  6. [HKEY_CLASSES_ROOT\Directory\shell\gitbash\command]
  7. @="D:\\Git\\git-bash.exe"
  8. ; 文件夹空白处右键 → "Git Bash Here"
  9. [HKEY_CLASSES_ROOT\Directory\Background\shell\gitbash]
  10. @="Git Bash Here"
  11. "Icon"="D:\\Git\\git-bash.exe"
  12. [HKEY_CLASSES_ROOT\Directory\Background\shell\gitbash\command]
  13. @="D:\\Git\\git-bash.exe"
  14. ; 右键 .git 文件夹也可以打开
  15. [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\gitbash]
  16. @="Git Bash Here"
  17. "Icon"="D:\\Git\\git-bash.exe"
  18. [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\gitbash\command]
  19. @="D:\\Git\\git-bash.exe"
  20. ; ===== Git GUI Here =====
  21. [HKEY_CLASSES_ROOT\Directory\shell\gitgui]
  22. @="Git GUI Here"
  23. "Icon"="D:\\Git\\cmd\\git-gui.exe"
  24. [HKEY_CLASSES_ROOT\Directory\shell\gitgui\command]
  25. @="D:\\Git\\cmd\\git-gui.exe"
  26. [HKEY_CLASSES_ROOT\Directory\Background\shell\gitgui]
  27. @="Git GUI Here"
  28. "Icon"="D:\\Git\\cmd\\git-gui.exe"
  29. [HKEY_CLASSES_ROOT\Directory\Background\shell\gitgui\command]
  30. @="D:\\Git\\cmd\\git-gui.exe"
  31. [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\gitgui]
  32. @="Git GUI Here"
  33. "Icon"="D:\\Git\\cmd\\git-gui.exe"
  34. [HKEY_CLASSES_ROOT\LibraryFolder\background\shell\gitgui\command]
  35. @="D:\\Git\\cmd\\git-gui.exe"