shared or user user_init.cmd

This commit is contained in:
Dax T. Games 2023-02-11 19:27:15 -08:00
parent 7e50f50863
commit 727a99b479

8
vendor/init.bat vendored
View File

@ -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