git

Adding “Open in Git Bash” to the Context Menu

One thing I use a lot on my computer is the “open command window here” context menu entry.  By default, you have to hold shift when right-clicking on a folder to get it to show up, but you can hack it such that it always shows up when you right-click on a folder (delete the registry entry at HKCR\Directory\shell\cmd called Extended) or when you right-click the empty space inside a folder window (delete the registry key at HKCR\Directory\Background\shell\cmd called Extended).

The Windows version of git comes with a version of bash that’s set up all nice-like with git integration.  I found myself often opening a bash console, switching into some directory, doing something with git, and then closing the console.  That’s somewhat tedious, though, so I ended up making an “Open in Git Bash” context menu entry.  If you want to use it, you’ll need two files: bash.bat and bash.reg

› Continue reading

Tags: , ,

Sunday, July 17th, 2011 Thoughts 16 Comments