Explorar o código

docs: fix shell examples (#2236)

Aiden Cline hai 6 meses
pai
achega
315c366e11
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      packages/web/src/content/docs/docs/commands.mdx

+ 3 - 3
packages/web/src/content/docs/docs/commands.mdx

@@ -59,7 +59,7 @@ Run the command with arguments:
 
 
 ## Inject shell output
 ## 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`:
 Create `.opencode/command/analyze-coverage.md`:
 
 
@@ -69,7 +69,7 @@ description: Analyze test coverage
 ---
 ---
 
 
 Here are the current test results:
 Here are the current test results:
-`!npm test`
+!`npm test`
 
 
 Based on these results, suggest improvements to increase coverage.
 Based on these results, suggest improvements to increase coverage.
 ```
 ```
@@ -82,7 +82,7 @@ description: Review recent changes
 ---
 ---
 
 
 Recent git commits:
 Recent git commits:
-`!git log --oneline -10`
+!`git log --oneline -10`
 
 
 Review these changes and suggest any improvements.
 Review these changes and suggest any improvements.
 ```
 ```