mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-14 16:51:33 +00:00
docs: Add terminal shell option to configuration documentation
This commit is contained in:
parent
5a371e9540
commit
29c344b94c
1 changed files with 15 additions and 0 deletions
|
|
@ -211,6 +211,21 @@ Available options:
|
|||
|
||||
---
|
||||
|
||||
### Shell
|
||||
|
||||
You can configure the default shell used for the interactive terminal and the agent's background processes using the `shell` option.
|
||||
|
||||
```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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue