mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
ignore all /d arg if running inside vscode
This commit is contained in:
parent
6d8f7a290a
commit
760f4e579e
7
vendor/init.bat
vendored
7
vendor/init.bat
vendored
@ -41,9 +41,6 @@ call "%cmder_root%\vendor\lib\lib_console"
|
||||
call "%cmder_root%\vendor\lib\lib_git"
|
||||
call "%cmder_root%\vendor\lib\lib_profile"
|
||||
|
||||
if defined VSCODE_CWD (
|
||||
goto start
|
||||
)
|
||||
:var_loop
|
||||
if "%~1" == "" (
|
||||
goto :start
|
||||
@ -54,7 +51,9 @@ if defined VSCODE_CWD (
|
||||
) else if /i "%1"=="/v" (
|
||||
set verbose_output=1
|
||||
) else if /i "%1"=="/d" (
|
||||
set debug_output=1
|
||||
if not defined VSCODE_CWD (
|
||||
set debug_output=1
|
||||
)
|
||||
) else if /i "%1" == "/max_depth" (
|
||||
if "%~2" geq "1" if "%~2" leq "5" (
|
||||
set "max_depth=%~2"
|
||||
|
Loading…
Reference in New Issue
Block a user