2
0
mirror of https://github.com/cmderdev/cmder.git synced 2025-04-26 11:32:32 +08:00

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

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