Merge pull request #167 from schlamar/patch-1

Only cd to $HOME if started in CMDER_ROOT.
This commit is contained in:
Martin Kemp 2014-03-19 19:50:14 +00:00
commit 3a8daf57f7

4
vendor/init.bat vendored
View File

@ -35,5 +35,7 @@
@if defined CMDER_START (
@cd /d "%CMDER_START%"
) else (
@cd /d "%HOME%"
@if "%CD%\" == "%CMDER_ROOT%" (
@cd /d "%HOME%"
)
)