Skip to content

Commit

Permalink
Merge pull request #167 from schlamar/patch-1
Browse files Browse the repository at this point in the history
Only cd to $HOME if started in CMDER_ROOT.
  • Loading branch information
MartiUK committed Mar 19, 2014
2 parents fe31acc + fa33052 commit 3a8daf5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vendor/init.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,7 @@
@if defined CMDER_START (
@cd /d "%CMDER_START%"
) else (
@cd /d "%HOME%"
@if "%CD%\" == "%CMDER_ROOT%" (
@cd /d "%HOME%"
)
)

0 comments on commit 3a8daf5

Please sign in to comment.