Skip to content

Commit

Permalink
Merge pull request #735 from JanSchulz/config_aliases
Browse files Browse the repository at this point in the history
Do not overwrite aliases on update
  • Loading branch information
MartiUK committed Nov 24, 2015
2 parents 85804d7 + 4154cdf commit c955049
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 @@ -53,6 +53,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 c955049

Please sign in to comment.