fix: finalize exec fish fallback (#1297) (thanks @ysqander)

This commit is contained in:
Peter Steinberger
2026-01-20 11:25:24 +00:00
parent 636a8e3181
commit c9e3c14f9c
7 changed files with 126 additions and 21 deletions

View File

@@ -32,6 +32,8 @@ Notes:
- `gateway`/`node` approvals are controlled by `~/.clawdbot/exec-approvals.json`.
- `node` requires a paired node (companion app or headless node host).
- If multiple nodes are available, set `exec.node` or `tools.exec.node` to select one.
- On non-Windows hosts, exec uses `SHELL` when set; if `SHELL` is `fish`, it prefers `bash` (or `sh`)
from `PATH` to avoid fish-incompatible scripts, then falls back to `SHELL` if neither exists.
## Config