silence profile.d if profile.d is empty

This commit is contained in:
Dax T. Games 2016-03-02 16:16:27 -06:00
parent 32c1d4028a
commit d6eec2f3a5

4
vendor/init.bat vendored
View File

@ -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