Skip to content

Commit

Permalink
move bin\alias.bat to vendor\bin\alias.cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
daxgames committed Sep 1, 2018
1 parent 059a316 commit c25ff75
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 131 deletions.
131 changes: 0 additions & 131 deletions bin/alias.bat

This file was deleted.

13 changes: 13 additions & 0 deletions vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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%
Expand Down Expand Up @@ -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

0 comments on commit c25ff75

Please sign in to comment.