Skip to content

Commit

Permalink
silence profile.d if profile.d is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Dax T. Games committed Mar 2, 2016
1 parent 32c1d40 commit 355d59e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
)

@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^>null` ) do (
REM @echo Calling %CMDER_ROOT%\config\profile.d\%%x...
@call "%CMDER_ROOT%\config\profile.d\%%x"
)
Expand Down

0 comments on commit 355d59e

Please sign in to comment.