Skip to content

Commit 2a7cd6f

Browse files
authored
Merge pull request #1302 from iLuffy/patch-1
improve the cmder terminal
2 parents 5697969 + 4d6b17c commit 2a7cd6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/editor/integrated-terminal.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,10 @@ The basics of the terminal have been covered in this document, read on to find o
164164

165165
```bat
166166
@echo off
167+
SET CurrentWorkingDirectory=%CD%
167168
SET CMDER_ROOT=C:\cmder (your path to cmder)
168-
"%CMDER_ROOT%\vendor\init.bat"
169+
CALL "%CMDER_ROOT%\vendor\init.bat"
170+
CD /D %CurrentWorkingDirectory%
169171
```
170172

171173
then in your VS Code user settings, add the following to your `settings.json` file:

0 commit comments

Comments
 (0)