fix cmder_configured GTR 1

This commit is contained in:
Dax T. Games 2020-07-14 22:31:57 -04:00
parent 954937cf97
commit 97a41ddd99

6
vendor/init.bat vendored
View File

@ -166,7 +166,7 @@ if "%CMDER_CLINK%" == "1" (
%lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!" %lib_console% verbose_output "WARNING: Incompatible 'ComSpec/Shell' Detetected Skipping Clink Injection!"
) )
if "%CMDER_CONFIGURED%" gtr 1 ( if "%CMDER_CONFIGURED%" GTR "1" (
%lib_console% verbose_output "Cmder is already configured, skipping Cmder Init!" %lib_console% verbose_output "Cmder is already configured, skipping Cmder Init!"
goto USER_ALIASES goto USER_ALIASES
@ -343,7 +343,7 @@ if "%CMDER_ALIASES%" == "1" (
:: Add aliases to the environment :: Add aliases to the environment
call "%user_aliases%" call "%user_aliases%"
if "%CMDER_CONFIGURED%" gtr 1 goto CMDER_CONFIGURED if "%CMDER_CONFIGURED%" gtr "1" goto CMDER_CONFIGURED
:: See vendor\git-for-windows\README.portable for why we do this :: See vendor\git-for-windows\README.portable for why we do this
:: A :: A
@ -398,7 +398,7 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD
set initialConfig= set initialConfig=
:CMDER_CONFIGURED :CMDER_CONFIGURED
set CMDER_CONFIGURED=1 if not defined CMDER_CONFIGURED set CMDER_CONFIGURED=1
set CMDER_INIT_END=%time% set CMDER_INIT_END=%time%