Do not overwrite aliases on update

This commit is contained in:
Jan Schulz 2015-11-24 23:38:26 +01:00
parent 519b9cabbb
commit 4154cdf204
2 changed files with 7 additions and 0 deletions

7
vendor/init.bat vendored
View File

@ -51,6 +51,13 @@
:: Enhance Path
@set PATH=%CMDER_ROOT%\bin;%PATH%;%CMDER_ROOT%\
:: make sure we have an example file
@if not exist "%CMDER_ROOT%\config\aliases" (
echo Creating intial aliases in %CMDER_ROOT%\config\aliases
copy "%CMDER_ROOT%\vendor\aliases.example" "%CMDER_ROOT%\config\aliases" > null
)
:: Add aliases
@doskey /macrofile="%CMDER_ROOT%\config\aliases"