Answers for "git bash context menu"

0

How to add git bash to context menu

Windows Registry Editor Version 5.00
; Open files
; Default Git-Bash Location C:Program FilesGitgit-bash.exe

[HKEY_CLASSES_ROOT*shellOpen Git Bash]
@="Open Git Bash"
"Icon"="C:\Program Files\Git\git-bash.exe"

[HKEY_CLASSES_ROOT*shellOpen Git Bashcommand]
@=""C:\Program Files\Git\git-bash.exe" "--cd=%1""

; This will make it appear when you right click ON a folder
; The "Icon" line can be removed if you don't want the icon to appear

[HKEY_CLASSES_ROOTDirectoryshellbash]
@="Open Git Bash"
"Icon"="C:\Program Files\Git\git-bash.exe"


[HKEY_CLASSES_ROOTDirectoryshellbashcommand]
@=""C:\Program Files\Git\git-bash.exe" "--cd=%1""

; This will make it appear when you right click INSIDE a folder
; The "Icon" line can be removed if you don't want the icon to appear

[HKEY_CLASSES_ROOTDirectoryBackgroundshellbash]
@="Open Git Bash"
"Icon"="C:\Program Files\Git\git-bash.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellbashcommand]
@=""C:\Program Files\Git\git-bash.exe" "--cd=%v.""
Posted by: Guest on October-01-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language