mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	fixed cmd profile.d support
This commit is contained in:
		
							
								
								
									
										2
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -92,7 +92,7 @@ | |||||||
| :: to run them at startup. | :: to run them at startup. | ||||||
| @if not exist "%CMDER_ROOT%\config\profile.d" ( | @if not exist "%CMDER_ROOT%\config\profile.d" ( | ||||||
|   mkdir "%CMDER_ROOT%\config\profile.d" |   mkdir "%CMDER_ROOT%\config\profile.d" | ||||||
| } | ) | ||||||
|  |  | ||||||
| @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` ) do ( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user