Commit Graph

3 Commits

Author SHA1 Message Date
Levi Neely 7f65ccf383 scripts/osh: fix write_new exit code
Brace group exit code was the last [ -n ] test, which returns 1 when
the variable is empty, triggering || die even on success. Adding true
as the final statement ensures a clean exit.
2026-04-16 19:39:06 +02:00
Levi Neely 59abf0fa7d scripts/osh: fix session creation and /kill
Replace write to defunct /ctl with s/new spec format. Add -name flag
so named sessions skip the post-write poll. Fix /kill to write to
s/{id}/ctl instead of the removed top-level ctl file.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 19:35:02 +02:00
Levi Neely 694a840c21 rename toys/ to scripts/
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-16 19:31:51 +02:00