Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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 FilesGitgit-bash.exe"

[HKEY_CLASSES_ROOT*shellOpen Git Bashcommand]
@=""C:Program FilesGitgit-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_ROOTDirectoryshellash]
@="Open Git Bash"
"Icon"="C:Program FilesGitgit-bash.exe"


[HKEY_CLASSES_ROOTDirectoryshellashcommand]
@=""C:Program FilesGitgit-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_ROOTDirectoryBackgroundshellash]
@="Open Git Bash"
"Icon"="C:Program FilesGitgit-bash.exe"

[HKEY_CLASSES_ROOTDirectoryBackgroundshellashcommand]
@=""C:Program FilesGitgit-bash.exe" "--cd=%v.""
Comment

PREVIOUS NEXT
Code Example
Shell :: linux script to clean up log files 
Shell :: bash script to clean up log files in /var/log 
Shell :: powershell get OS 
Shell :: windows cmd remove a not empty directory 
Shell :: install perl 5 on ubuntu 2020 
Shell :: how to view hidden files and folders on terminal 
Shell :: delete a github repository using bash 
Shell :: install paddlepaddle 
Shell :: how to reverse shell 
Shell :: generate new ssh key 
Shell :: git push url change 
Shell :: make current commit head 
Shell :: bash read file content 
Shell :: install msf in termux 
Shell :: cmd delete folder and all contents 
Shell :: appimage 
Shell :: install neovim 
Shell :: terraform install on ubuntu 
Shell :: apt-get ana-conda 
Shell :: how to use gitignore to ignore a folder 
Shell :: open tar.Z files 
Shell :: grep last word in line 
Shell :: clear log file space linux 
Shell :: force delete folder linux 
Shell :: linux terminal show processes 
Shell :: kill process using cmd 
Shell :: how to install cuda on ubuntu 20.04 
Shell :: limits.h: No such file or directory 
Shell :: How to Edit connections in Ubuntu 
Shell :: bash command to open file explorer 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =