From ea22c658b72a065bfb0d71dbec247e7a4e040e9e Mon Sep 17 00:00:00 2001 From: Greg Lucas Date: Tue, 11 Mar 2014 15:12:35 -0400 Subject: [PATCH] CD to HOME by default. --- vendor/init.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vendor/init.bat b/vendor/init.bat index cdc768d..5204422 100644 --- a/vendor/init.bat +++ b/vendor/init.bat @@ -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%" +)