| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fix(prog-shell): only auto-chmod scripts in prog-mode buffers | Craig Jennings | 4 days | 1 | -0/+14 |
| | | | | | cj/make-script-executable runs from a global after-save-hook and set +x on any saved file whose first line was a shebang, in every buffer. A downloaded script you were reading, a template, or a shebang in a text or org file silently became executable. I gated it on derived-mode-p prog-mode, so it only acts on actual script buffers. Real scripts (sh-mode, python-mode) still get the fast path. | ||||
| * | test(prog-shell): add tests for cj/make-script-executable | Craig Jennings | 2026-01-24 | 1 | -0/+130 |
| 9 tests covering: - Normal: bash/python shebangs, already executable - Boundary: no shebang, empty file, shebang on line 2, hash without ! - Edge: no buffer file, shebang with space Closes TODO item for make-script-executable tests. Also closes already-done ANSI codes TODO. | |||||
