mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 00:39:08 +08:00
Merge pull request #167 from schlamar/patch-1
Only cd to $HOME if started in CMDER_ROOT.
This commit is contained in:
commit
3a8daf57f7
4
vendor/init.bat
vendored
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%"
|
||||
)
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user