Skip to content

Instantly share code, notes, and snippets.

@n3dst4
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save n3dst4/f2bf92a14e93a36d9248 to your computer and use it in GitHub Desktop.
Save n3dst4/f2bf92a14e93a36d9248 to your computer and use it in GitHub Desktop.
Start bash in Console2 with $HOME set to a folder of your choice
@echo off
rem If Windows's idea of $HOME is wrong for you, you can use
rem Console2 and instead of using bash directly, use this batch
rem file instead. It will set $HOME to wherever it is located.
set PATH=%PATH%;%~dp0
set HOME=%~dp0
rem adjust path to suit
"C:\Program Files (x86)\Git\bin\sh.exe" --login -i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment