docs: clarify PATH configuration in README
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user