Last active
August 29, 2015 14:04
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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