Merge pull request #165 from glucas/use_home

Allow for existing HOME variable
This commit is contained in:
Martin Kemp 2014-03-14 10:23:18 +00:00
commit fe31accba4

8
vendor/init.bat vendored
View File

@ -30,6 +30,10 @@
@doskey /macrofile="%CMDER_ROOT%\config\aliases"
:: Set home path
@set HOME=%USERPROFILE%
@if not defined HOME set HOME=%USERPROFILE%
@if defined CMDER_START cd /d "%CMDER_START%"
@if defined CMDER_START (
@cd /d "%CMDER_START%"
) else (
@cd /d "%HOME%"
)