mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	Fix issue #2214
This commit is contained in:
		| @@ -8,6 +8,7 @@ | ||||
|   * Cmder v1.3.13 init script fails. [#2218](https://github.com/cmderdev/cmder/issues/2218) | ||||
|   * Git & env related error messages. [#2220](https://github.com/cmderdev/cmder/issues/2220) | ||||
|   * Latest addition of "--nolog" clink breaks cmd prompts. [#2166](https://github.com/cmderdev/cmder/issues/2166) | ||||
|   * `/nix_tools 0` should prevent adding `%GIT_INSTALL_ROOT%\mingw64\bin` to PATH. [#2214](https://github.com/cmderdev/cmder/issues/2214) | ||||
|  | ||||
| ### Changes | ||||
|  | ||||
|   | ||||
							
								
								
									
										12
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -219,13 +219,13 @@ if %nix_tools% equ 1 ( | ||||
| ) | ||||
|  | ||||
| if exist "%GIT_INSTALL_ROOT%\cmd\git.exe" %lib_path% enhance_path "%GIT_INSTALL_ROOT%\cmd" %path_position% | ||||
| if exist "%GIT_INSTALL_ROOT%\mingw32" ( | ||||
|     %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position% | ||||
| ) else if exist "%GIT_INSTALL_ROOT%\mingw64" ( | ||||
|     %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw64\bin" %path_position% | ||||
| ) | ||||
|  | ||||
| if %nix_tools% geq 1 ( | ||||
|     if exist "%GIT_INSTALL_ROOT%\mingw32" ( | ||||
|         %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw32\bin" %path_position% | ||||
|     ) else if exist "%GIT_INSTALL_ROOT%\mingw64" ( | ||||
|         %lib_path% enhance_path "%GIT_INSTALL_ROOT%\mingw64\bin" %path_position% | ||||
|     ) | ||||
|  | ||||
|     %lib_path% enhance_path "%GIT_INSTALL_ROOT%\usr\bin" %path_position% | ||||
| ) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user