summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2025-08-24 23:53:39 -0500
committerGitHub <[email protected]>2025-08-24 23:53:39 -0500
commit315c366e1104d46e2c48c29f5753572e38a73aa9 (patch)
tree903eb2fd0b3ec22984b262416b08336ac32613ef
parent5d68a7c2e0675076c4a37df693852226ec7d067e (diff)
downloadopencode-315c366e1104d46e2c48c29f5753572e38a73aa9.tar.gz
opencode-315c366e1104d46e2c48c29f5753572e38a73aa9.zip
docs: fix shell examples (#2236)
-rw-r--r--packages/web/src/content/docs/docs/commands.mdx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/web/src/content/docs/docs/commands.mdx b/packages/web/src/content/docs/docs/commands.mdx
index 3869ea8a4..621cf8720 100644
--- a/packages/web/src/content/docs/docs/commands.mdx
+++ b/packages/web/src/content/docs/docs/commands.mdx
@@ -59,7 +59,7 @@ Run the command with arguments:
## Inject shell output
-Use `!command` to inject shell command output into your prompt.
+Use !`command` to inject shell command output into your prompt.
Create `.opencode/command/analyze-coverage.md`:
@@ -69,7 +69,7 @@ description: Analyze test coverage
---
Here are the current test results:
-`!npm test`
+!`npm test`
Based on these results, suggest improvements to increase coverage.
```
@@ -82,7 +82,7 @@ description: Review recent changes
---
Recent git commits:
-`!git log --oneline -10`
+!`git log --oneline -10`
Review these changes and suggest any improvements.
```