mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
docs: fix
This commit is contained in:
parent
a4c14dbb2d
commit
bedeb626b2
1 changed files with 0 additions and 14 deletions
|
|
@ -103,20 +103,6 @@ Start a line with `!` to run a shell command. The output is added to the convers
|
|||
!ls -la
|
||||
```
|
||||
|
||||
Commands run in your session's working directory and share state across runs. Environment variables and directory changes persist while the session is open.
|
||||
|
||||
```bash frame="none"
|
||||
!export FOO=bar
|
||||
!echo $FOO
|
||||
```
|
||||
|
||||
Chain commands with `&&` or `;`, and quote paths with spaces. Use absolute paths when possible for reliability.
|
||||
|
||||
```bash frame="none"
|
||||
!npm install && npm test
|
||||
!python "/path/with spaces/script.py"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Editor setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue