This is the cleaned up version that has a flag rather than twiddling the global. I think it's all reasonably ready now and if there's any possibility of getting it included I'll add tests and documentation.
Britton Leo Kerin (1): Support per-target .ONESHELL src/commands.c | 2 +- src/commands.h | 2 ++ src/file.c | 17 +++++++++++++++++ src/job.c | 24 ++++++++++++++++-------- src/main.c | 9 +++++---- src/makeint.h | 2 +- src/read.c | 8 -------- 7 files changed, 42 insertions(+), 22 deletions(-) base-commit: aa8626ce09317151f59490ebd5673afdedb3e1f2 -- 2.43.0