docs: clarify PATH configuration in README

This commit is contained in:
2026-08-18 16:19:19 +01:00
parent a5f97a3a1b
commit 71c92f1bed
+2 -2
View File
@@ -55,7 +55,7 @@ You just type `opencode` from any project directory and it runs sandboxed.
If a non-sandboxed `opencode` appears *earlier* on your `PATH` than the If a non-sandboxed `opencode` appears *earlier* on your `PATH` than the
wrapper, typing `opencode` will bypass the sandbox. The installer detects and wrapper, typing `opencode` will bypass the sandbox. The installer detects and
warns about this. Fix it with: warns about this. Fix it by adding this to your shell config file (e.g., `~/.bashrc` or `~/.zshrc`):
```bash ```bash
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"
@@ -118,7 +118,7 @@ Then run from any directory:
nono-tui nono-tui
``` ```
Make sure `~/.local/bin` is on your `PATH`: Make sure `~/.local/bin` is on your `PATH`. If it isn't, add this to your shell config file (e.g., `~/.bashrc` or `~/.zshrc`):
```bash ```bash
export PATH="$HOME/.local/bin:$PATH" export PATH="$HOME/.local/bin:$PATH"