Skip to content

Commit

Permalink
Do not overwrite aliases on update
Browse files Browse the repository at this point in the history
  • Loading branch information
jankatins committed Nov 24, 2015
1 parent 519b9ca commit 4154cdf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
File renamed without changes.
7 changes: 7 additions & 0 deletions vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 4154cdf

Please sign in to comment.