Modify properties of “Git Bash Here” shortcut in Explorer and Console Enhancement Project

Configuration notes for a more productive Git Bash and Windows console environment, including window and buffer sizes, transparency, copy-on-select, working directories, and Git Bash integration.

Essentials

Run the bash for this as administrator. The shortcut is located in the Git installation folder. “%ProgramFiles(x86)%\Git”.

Good Setting for the layout are:

  • Screnn buffer size

    • Width: 160
    • Height: 3000
  • Windows size

    • Width: 160
    • Height: 75

A detail explanation could be found under Unable to modify git bash Windows shortcut - Full Instructions

Additonals

With the Console enhancement project (Console Enhancement Project at SourceForge) it’s a lot more fun to work with console.

Settings for console App

  • Activate “Save settings to user directory”
  • On tree node “Console” set the Window and Buffer sizes like above
  • On tree node “Appearance” set “Snap to desktop edges” with a distance of 10 pixels
  • On tree node “Appearance > More …” set Alpha canals for transparency to 30 for the active and 150 for the inactive window
  • On tree node “Behavior” activate “Copy on select”

Settings for Git Shell

  1. Open the settings with Edit > Settings…
  2. Goto tre node “Tabs”
  3. Press “Add”-Button to add a new tab specification which you could later use
  4. Name it “Git Bash”
  5. Specify the Shell, for instance with C:\Program Files (x86)\Git\bin\sh.exe –login –i
  6. Setup your mostly used directory which should be the active directory, for instance c:\Projects
  7. Setup a cursor style, I like XTem and Pulse in grey

Remarks

Have a look at the tree node “Hotkeys > Mouse” to get a understanding how to select some text parts in the console window