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