move bin\alias.bat to vendor\bin\alias.cmd

This commit is contained in:
Dax T. Games
2018-09-01 17:37:27 -04:00
parent 059a31618b
commit c25ff75187
2 changed files with 13 additions and 131 deletions

13
vendor/init.bat vendored
View File

@ -218,6 +218,7 @@ goto :PATH_ENHANCE
endlocal
:PATH_ENHANCE
%lib_path% enhance_path "%CMDER_ROOT%\vendor\bin"
%lib_path% enhance_path_recursive "%CMDER_ROOT%\bin" %max_depth%
if defined CMDER_USER_BIN (
%lib_path% enhance_path_recursive "%CMDER_USER_BIN%" %max_depth%
@ -331,5 +332,17 @@ echo @echo off
) >"%initialConfig%"
)
if exist "%CMDER_ROOT%\bin\alias.bat" if exist "%CMDER_ROOT%\vendor\bin\alias.cmd" (
echo Cmder's 'alias' command has been moved into '%CMDER_ROOT%\vendor\bin\alias.cmd'
echo to get rid of this message either:
echo.
echo Delete the file '%CMDER_ROOT%\bin\alias.bat'
echo.
echo or
echo.
echo Rename '%CMDER_ROOT%\bin\alias.bat' to '%CMDER_ROOT%\bin\alias.cmd' if you
echo have customized it and want to continue using it instead of the included version.
)
set initialConfig=
exit /b