mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
all clink disable by setting CMDER_CLINK=0 befor starting task
This commit is contained in:
parent
a226019d5a
commit
20d55c1469
17
vendor/lib/lib_base.cmd
vendored
17
vendor/lib/lib_base.cmd
vendored
@ -65,12 +65,17 @@ exit /b
|
|||||||
echo %comspec% | find /i "\tcc.exe" > nul && set "CMDER_SHELL=tcc"
|
echo %comspec% | find /i "\tcc.exe" > nul && set "CMDER_SHELL=tcc"
|
||||||
echo %comspec% | find /i "\tccle" > nul && set "CMDER_SHELL=tccle"
|
echo %comspec% | find /i "\tccle" > nul && set "CMDER_SHELL=tccle"
|
||||||
|
|
||||||
set CMDER_CLINK=1
|
if not defined CMDER_CLINK (
|
||||||
if "%CMDER_SHELL%" equ "tcc" set CMDER_CLINK=0
|
set CMDER_CLINK=1
|
||||||
if "%CMDER_SHELL%" equ "tccle" set CMDER_CLINK=0
|
if "%CMDER_SHELL%" equ "tcc" set CMDER_CLINK=0
|
||||||
|
if "%CMDER_SHELL%" equ "tccle" set CMDER_CLINK=0
|
||||||
|
)
|
||||||
|
|
||||||
set CMDER_ALIASES=1
|
|
||||||
if "%CMDER_SHELL%" equ "tcc" set CMDER_ALIASES=0
|
if not defined CMDER_ALIASES (
|
||||||
if "%CMDER_SHELL%" equ "tccle" set CMDER_ALIASES=0
|
set CMDER_ALIASES=1
|
||||||
|
if "%CMDER_SHELL%" equ "tcc" set CMDER_ALIASES=0
|
||||||
|
if "%CMDER_SHELL%" equ "tccle" set CMDER_ALIASES=0
|
||||||
|
)
|
||||||
|
|
||||||
exit /b
|
exit /b
|
||||||
|
Loading…
Reference in New Issue
Block a user