mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
CD to HOME by default.
This commit is contained in:
parent
303bfda521
commit
ea22c658b7
6
vendor/init.bat
vendored
6
vendor/init.bat
vendored
@ -32,4 +32,8 @@
|
||||
:: Set home path
|
||||
@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%"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user