Skip to content

Commit 278556b

Browse files
committed
README: Update host-spawn guide
- There is a Features section at the top level of the settings menu which hides the Terminal section, add that stage to match the current UI - The host-spawn JSON works, but seems to assume that you're modifying the JSON above, so show the full configuration to make it clear that each works independently of the other Tested on Fedora and SteamOS.
1 parent 857a865 commit 278556b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ or
3030

3131
Another option to execute commands is to use your host shell in the integrated terminal instead of the sandbox one.
3232

33-
For that go to `File -> Preferences -> Settings` and find `Terminal > Integrated > Profiles`, then click on `Edit in settings.json` (The important thing here is to open settings.json)
33+
For that go to `File -> Preferences -> Settings` and find `Features > Terminal > Integrated > Profiles`, then click on `Edit in settings.json` (The important thing here is to open settings.json)
3434

3535
And make sure that you have the following lines there:
3636

@@ -53,13 +53,17 @@ And make sure that you have the following lines there:
5353
`host-spawn`
5454

5555
```
56-
"terminal.integrated.defaultProfile.linux": "bash",
56+
{
57+
"terminal.integrated.defaultProfile.linux": "bash",
58+
"terminal.integrated.profiles.linux": {
5759
"bash": {
5860
"path": "/app/bin/host-spawn",
5961
"args": ["bash"],
6062
"icon": "terminal-bash",
6163
"overrideName": true
62-
},
64+
}
65+
}
66+
}
6367
```
6468

6569
- You can change **bash** to any terminal you are using: zsh, fish, sh.

0 commit comments

Comments
 (0)