Last active
October 14, 2023 12:19
-
-
Save deskobj/44b3ef507ef56ef22a2d0b332a4f3e91 to your computer and use it in GitHub Desktop.
GitK-asStandardUser-OnDir.reg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REGEDIT4 | |
; - or - Windows Registry Editor Version 5.00 | |
; Registry files in format REGEDIT4 cannot contain Unicode characters with a code value greater 255. | |
; Read more: https://stackoverflow.com/questions/36785645 | |
; One-liner copy: | |
; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (new-object net.webclient).DownloadFile('https://gist.github.com/deskobj/44b3ef507ef56ef22a2d0b332a4f3e91/raw', "$env:temp\__GitK-asStandardUser-OnDir.reg") ; explorer "$env:temp" | |
; TODO: make one-liner run. | |
[HKEY_CLASSES_ROOT\Directory\Shell] | |
@="none" | |
[HKEY_CLASSES_ROOT\Directory\shell\_GitHistoryAll] | |
"Icon"="C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico" | |
"MUIVerb"="Git history --all" | |
"Position"="bottom" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\_GitHistoryAll] | |
"Icon"="C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico" | |
"MUIVerb"="Git history --all" | |
"Position"="bottom" | |
[HKEY_CLASSES_ROOT\Directory\shell\_GitHistoryAll\command] | |
@="C:\\Progra~1\\Git\\cmd\\gitk --all" | |
[HKEY_CLASSES_ROOT\Directory\Background\shell\_GitHistoryAll\command] | |
@="C:\\Progra~1\\Git\\cmd\\gitk --all" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment