Skip to content
This repository
branch: master
Ben Bodenmiller
file 17 lines (12 sloc) 0.546 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
@rem Do not use "echo off" to not affect any child calls.

@rem Get the absolute path to the current directory, which is assumed to be the
@rem Git installation root.
@for /F "delims=" %%I in ("%~dp0") do @set git_install_root=%%~fI
@set PATH=%git_install_root%\bin;%git_install_root%\mingw\bin;%git_install_root%\cmd;%PATH%

@if not exist "%HOME%" @set HOME=%HOMEDRIVE%%HOMEPATH%
@if not exist "%HOME%" @set HOME=%USERPROFILE%

@if not defined TERM set TERM=msys

@cd /d %HOME%
@start %COMSPEC%
Something went wrong with that request. Please try again.