mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 17:32:27 +08:00 
			
		
		
		
	Update init.bat
This commit is contained in:
		
							
								
								
									
										8
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -159,15 +159,9 @@ if not defined HOME set "HOME=%USERPROFILE%" | |||||||
|  |  | ||||||
| :: This is either a env variable set by the user or the result of | :: This is either a env variable set by the user or the result of | ||||||
| :: cmder.exe setting this variable due to a commandline argument or a "cmder here" | :: cmder.exe setting this variable due to a commandline argument or a "cmder here" | ||||||
| setlocal enabledelayedexpansion |  | ||||||
| if defined CMDER_START ( | if defined CMDER_START ( | ||||||
|     if "%CMDER_START:~-1%" neq "\" ( |     pushd "%CMDER_START%" | ||||||
|         SET "CMDER_START=%CMDER_START%\" |  | ||||||
|     ) |  | ||||||
|  |  | ||||||
|     pushd "!CMDER_START!" |  | ||||||
| ) | ) | ||||||
| endlocal |  | ||||||
|  |  | ||||||
| if exist "%CMDER_ROOT%\config\user-profile.cmd" ( | if exist "%CMDER_ROOT%\config\user-profile.cmd" ( | ||||||
|     REM Create this file and place your own command in there |     REM Create this file and place your own command in there | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user