mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 00:39:08 +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"
|
||||
for /f "usebackq" %%x in ( `dir /b *.bat *.cmd` ) do (
|
||||
REM @echo Calling %CMDER_ROOT%\config\profile.d\%%x...
|
||||
@for /f "usebackq" %%x in ( `dir /b *.bat *.cmd 2^>nul` ) do @(
|
||||
@REM echo Calling %CMDER_ROOT%\config\profile.d\%%x...
|
||||
@call "%CMDER_ROOT%\config\profile.d\%%x"
|
||||
)
|
||||
@popd
|
||||
|
Loading…
Reference in New Issue
Block a user