2
0
mirror of https://github.com/cmderdev/cmder.git synced 2025-04-17 15:12:32 +08:00

Only cd to $HOME if started in CMDER_ROOT.

This commit is contained in:
Marc Schlaich 2014-03-19 12:25:41 +01:00
parent fe31accba4
commit fa33052096

4
vendor/init.bat vendored

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