1.3.17 Fixes for clink settings and history

This commit is contained in:
dgames 2020-12-24 12:14:46 -05:00
parent ae7ddb7f86
commit da0af1d96b
3 changed files with 9 additions and 3 deletions

6
vendor/init.bat vendored
View File

@ -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
View File

@ -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",

View File

@ -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%"