cmder/vendor/bin/cmder_shell.cmd

14 lines
283 B
Batchfile
Raw Normal View History

2022-09-10 00:00:24 +04:30
@echo off
2022-10-25 18:42:30 +03:30
set CMDER_ROOT=%~dp0..\..\
2022-09-10 00:00:24 +04:30
if "%cmder_init%" == "1" (
2022-10-25 18:42:30 +03:30
"%CMDER_ROOT%\vendor\clink\clink.bat" inject -q --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
2022-09-10 00:00:24 +04:30
) else (
2022-10-25 18:42:30 +03:30
set cmder_init=1
2022-09-10 00:00:24 +04:30
)
2022-10-25 18:42:30 +03:30
pushd "%CMDER_ROOT%"
call "%CMDER_ROOT%\vendor\init.bat" /f %*
2022-09-10 00:00:24 +04:30
popd