mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	silence profile.d if profile.d is empty
This commit is contained in:
		
							
								
								
									
										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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user