mirror of
https://github.com/cmderdev/cmder.git
synced 2025-04-15 14:12:32 +08:00
silence profile.d if profile.d is empty
This commit is contained in:
parent
32c1d4028a
commit
d6eec2f3a5
4
vendor/init.bat
vendored
4
vendor/init.bat
vendored
@ -95,8 +95,8 @@
|
|||||||
)
|
)
|
||||||
|
|
||||||
@pushd "%CMDER_ROOT%\config\profile.d"
|
@pushd "%CMDER_ROOT%\config\profile.d"
|
||||||
for /f "usebackq" %%x in ( `dir /b *.bat *.cmd` ) do (
|
@for /f "usebackq" %%x in ( `dir /b *.bat *.cmd 2^>nul` ) do @(
|
||||||
REM @echo Calling %CMDER_ROOT%\config\profile.d\%%x...
|
@REM echo Calling %CMDER_ROOT%\config\profile.d\%%x...
|
||||||
@call "%CMDER_ROOT%\config\profile.d\%%x"
|
@call "%CMDER_ROOT%\config\profile.d\%%x"
|
||||||
)
|
)
|
||||||
@popd
|
@popd
|
||||||
|
Loading…
x
Reference in New Issue
Block a user