mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
cleanup
This commit is contained in:
parent
85c4a5b4af
commit
9869f9a372
6
vendor/init.bat
vendored
6
vendor/init.bat
vendored
@ -258,7 +258,7 @@ if "%CMDER_ALIASES%" == "1" (
|
|||||||
if not defined aliases (
|
if not defined aliases (
|
||||||
set "aliases=%user_aliases%"
|
set "aliases=%user_aliases%"
|
||||||
)
|
)
|
||||||
|
|
||||||
REM Make sure we have a self-extracting user_aliases.cmd file
|
REM Make sure we have a self-extracting user_aliases.cmd file
|
||||||
setlocal enabledelayedexpansion
|
setlocal enabledelayedexpansion
|
||||||
if not exist "%user_aliases%" (
|
if not exist "%user_aliases%" (
|
||||||
@ -277,7 +277,7 @@ if "%CMDER_ALIASES%" == "1" (
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Update old 'user_aliases' to new self executing 'user_aliases.cmd'
|
:: Update old 'user_aliases' to new self executing 'user_aliases.cmd'
|
||||||
if exist "%CMDER_ROOT%\config\aliases" (
|
if exist "%CMDER_ROOT%\config\aliases" (
|
||||||
echo Updating old "%CMDER_ROOT%\config\aliases" to new format...
|
echo Updating old "%CMDER_ROOT%\config\aliases" to new format...
|
||||||
@ -352,7 +352,7 @@ if "%CMDER_ALIASES%" == "1" if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMD
|
|||||||
echo.
|
echo.
|
||||||
echo If you have customized it and want to continue using it instead of the included version
|
echo If you have customized it and want to continue using it instead of the included version
|
||||||
echo * Rename '%CMDER_ROOT%\bin\alias.bat' to '%CMDER_ROOT%\bin\alias.cmd'.
|
echo * Rename '%CMDER_ROOT%\bin\alias.bat' to '%CMDER_ROOT%\bin\alias.cmd'.
|
||||||
echo * Search for 'user-aliases' and replace it with 'user_aliases'.
|
echo * Search for 'user-aliases' and replace it with 'user_aliases'.
|
||||||
)
|
)
|
||||||
|
|
||||||
set initialConfig=
|
set initialConfig=
|
||||||
|
Loading…
Reference in New Issue
Block a user