mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
Do not overwrite aliases on update
This commit is contained in:
parent
519b9cabbb
commit
4154cdf204
0
config/aliases → vendor/aliases.example
vendored
0
config/aliases → vendor/aliases.example
vendored
7
vendor/init.bat
vendored
7
vendor/init.bat
vendored
@ -51,6 +51,13 @@
|
|||||||
:: Enhance Path
|
:: Enhance Path
|
||||||
@set PATH=%CMDER_ROOT%\bin;%PATH%;%CMDER_ROOT%\
|
@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
|
:: Add aliases
|
||||||
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
|
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user