add cmder_shell.cmd

This commit is contained in:
David Refoua 2022-09-10 00:00:24 +04:30 committed by GitHub
parent dab1dd93f1
commit 15d66d394a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

13
vendor/bin/cmder_shell. vendored Normal file
View File

@ -0,0 +1,13 @@
@echo off
set CMDER_ROOT=%~dp0..\
if "%cmder_init%" == "1" (
"%CMDER_ROOT%\vendor\clink\clink.bat" inject -q --profile "%CMDER_ROOT%\config" --scripts "%CMDER_ROOT%\vendor"
) else (
set cmder_init=1
)
pushd %CMDER_ROOT%
call "%CMDER_ROOT%\vendor\init.bat" /f
popd