diff options
| author | Luke Parker <[email protected]> | 2026-04-27 10:54:55 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-27 00:54:55 +0000 |
| commit | 141f33d24bdc059aa26bd1e32c9416ac3aed36e1 (patch) | |
| tree | ffd2f8b70439cdc134cb3b7e70c7fbf7130f1b81 /packages/web | |
| parent | c4d8a8183e6c2d15831767f1b898a8d0ed0297b9 (diff) | |
| download | opencode-141f33d24bdc059aa26bd1e32c9416ac3aed36e1.tar.gz opencode-141f33d24bdc059aa26bd1e32c9416ac3aed36e1.zip | |
feat: configurable shell selection + desktop settings UI (#20602)
Diffstat (limited to 'packages/web')
| -rw-r--r-- | packages/web/src/content/docs/config.mdx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/web/src/content/docs/config.mdx b/packages/web/src/content/docs/config.mdx index 52ee1da0a..14eefdd81 100644 --- a/packages/web/src/content/docs/config.mdx +++ b/packages/web/src/content/docs/config.mdx @@ -312,6 +312,21 @@ Available options: --- +### Shell + +You can configure the shell used for the interactive terminal using the `shell` option. Compatible shells are also used for agent tool calls. + +```json title="opencode.json" +{ + "$schema": "https://opencode.ai/config.json", + "shell": "pwsh" +} +``` + +If not specified, OpenCode will automatically discover and use a sensible default based on your operating system (e.g. `pwsh` or `cmd.exe` on Windows, `/bin/zsh` or `/bin/bash` on macOS/Linux). You can provide an absolute path or a short name. + +--- + ### Tools You can manage the tools an LLM can use through the `tools` option. |
