Add a lua script to clean the aliases file

Note that cmder doesn't ship with lua. Next step is converting this
script to perl, which ships with msysgit.
This commit is contained in:
melchior
2014-10-16 00:20:36 -04:00
parent dcc9f5e59a
commit 1e2f954724
2 changed files with 64 additions and 0 deletions

View File

@ -15,6 +15,7 @@ if not ["%_temp%"] == ["%_temp2%"] (
echo %* >> "%CMDER_ROOT%\config\aliases"
doskey /macrofile="%CMDER_ROOT%\config\aliases"
lua "%CMDER_ROOT%\scripts\clean_aliases.lua"
echo Alias created
endlocal
goto:eof