Update init.bat

Move skip to user config below clink enablement in cmder_configured == 1
This commit is contained in:
Dax T Games 2020-06-08 21:18:23 -04:00 committed by GitHub
parent 4d86559841
commit 31c019b7e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
vendor/init.bat vendored
View File

@ -172,6 +172,12 @@ if "%CMDER_CLINK%" == "1" (
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
)
if "%CMDER_CONFIGURED%" == "1" (
echo Cmder is already configured, skipping to user config!
goto USER_CONFIG_START
)
:: Prepare for git-for-windows
:: I do not even know, copypasted from their .bat