From 727a99b479d57e9125e4c2c816881e9f459994b7 Mon Sep 17 00:00:00 2001 From: "Dax T. Games" Date: Sat, 11 Feb 2023 19:27:15 -0800 Subject: [PATCH] shared or user user_init.cmd --- vendor/init.bat | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/init.bat b/vendor/init.bat index 51f1eef..09ff754 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -165,10 +165,10 @@ if "%PROCESSOR_ARCHITECTURE%"=="x86" ( set CMDER_CLINK=0 ) -if exist "%CMDER_ROOT%\config\user_init.cmd" if defined CMDER_USER_CONFIG ( - call "%CMDER_ROOT%\config\user_init.cmd" - - if exist "%CMDER_USER_CONFIG%\config\user_init.cmd" ( +if defined CMDER_USER_CONFIG ( + if exist "%CMDER_ROOT%\config\user_init.cmd" ( + call "%CMDER_ROOT%\config\user_init.cmd" + ) else if exist "%CMDER_USER_CONFIG%\config\user_init.cmd" ( call "%CMDER_USER_CONFIG%\config\user_init.cmd" ) exit /b