This commit is contained in:
LukeParkerDev 2026-04-25 09:28:35 +10:00
parent c849d787ea
commit 2b6f92aebb
3 changed files with 5 additions and 5 deletions

View file

@ -729,7 +729,7 @@ export const dict = {
"settings.general.row.language.title": "Language",
"settings.general.row.language.description": "Change the display language for OpenCode",
"settings.general.row.shell.title": "Terminal Shell",
"settings.general.row.shell.description": "Choose the shell used for your terminal and agent tool calls.",
"settings.general.row.shell.description": "Choose the shell used for your terminal. Compatible shells are also used for agent tool calls.",
"settings.general.row.shell.terminalOnly": "terminal only",
"settings.general.row.appearance.title": "Appearance",
"settings.general.row.appearance.description": "Customise how OpenCode looks on your device",

View file

@ -174,7 +174,7 @@ test("updates config and preserves empty shell sentinel", async () => {
await Instance.provide({
directory: tmp.path,
fn: async () => {
await save({ shell: "" } as any)
await save({ shell: "" })
const writtenConfig = await Filesystem.readJson<{ shell?: string }>(path.join(tmp.path, "config.json"))
expect(writtenConfig.shell).toBe("")
@ -197,7 +197,7 @@ test("updates global config and omits empty shell key in json", async () => {
await clear(true)
try {
await saveGlobal({ shell: "" } as any)
await saveGlobal({ shell: "" })
const writtenConfig = await Filesystem.readJson<{ shell?: string }>(path.join(tmp.path, "opencode.json"))
expect("shell" in writtenConfig).toBe(false)
@ -226,7 +226,7 @@ test("updates global config and omits empty shell key in jsonc", async () => {
await clear(true)
try {
await saveGlobal({ shell: "" } as any)
await saveGlobal({ shell: "" })
const file = path.join(tmp.path, "opencode.jsonc")
const writtenConfig = await Filesystem.readText(file)

View file

@ -314,7 +314,7 @@ Available options:
### Shell
You can configure the shell used for the interactive terminal and agent tool calls using the `shell` option.
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"
{