mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	1.3.17 Fixes for clink settings and history
This commit is contained in:
		
							
								
								
									
										6
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/init.bat
									
									
									
									
										vendored
									
									
								
							| @@ -397,6 +397,12 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD | ||||
|   echo   * Search for 'user-aliases' and replace it with 'user_aliases'. | ||||
| ) | ||||
|  | ||||
| alias history |find /i "cat" >nul | ||||
| if "%ERRORLEVEL%" == "0" ( | ||||
|   echo Migrating alias 'history' to new Clink 1.x.x... | ||||
|   "%CMDER_ROOT%\vendor\bin\alias.cmd" history="^%%CMDER_ROOT^%%\vendor\clink\clink.bat" history | ||||
| ) | ||||
|  | ||||
| set initialConfig= | ||||
|  | ||||
| :CMDER_CONFIGURED | ||||
|   | ||||
							
								
								
									
										4
									
								
								vendor/sources.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								vendor/sources.json
									
									
									
									
										vendored
									
									
								
							| @@ -6,8 +6,8 @@ | ||||
|     }, | ||||
|     { | ||||
|         "name": "clink", | ||||
|         "version": "1.1.10", | ||||
|         "url": "https://github.com/chrisant996/clink/releases/download/v1.1.10/clink.1.1.10.125c9f.zip" | ||||
|         "version": "1.1.14", | ||||
|         "url": "https://github.com/chrisant996/clink/releases/download/v1.1.14/clink.1.1.14.a44ba3.zip" | ||||
|     }, | ||||
|     { | ||||
|         "name": "conemu-maximus5", | ||||
|   | ||||
							
								
								
									
										2
									
								
								vendor/user_aliases.cmd.default
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								vendor/user_aliases.cmd.default
									
									
									
									
										vendored
									
									
								
							| @@ -9,7 +9,7 @@ gl=git log --oneline --all --graph --decorate  $* | ||||
| ls=ls --show-control-chars -F --color $* | ||||
| pwd=cd | ||||
| clear=cls | ||||
| history=cat -n "%CMDER_ROOT%\config\.history" | ||||
| history="%cmder_root%\vendor\clink\clink.bat" history | ||||
| unalias=alias /d $1 | ||||
| vi=vim $* | ||||
| cmderr=cd /d "%CMDER_ROOT%" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user