Skip to content

Commit 43ea328

Browse files
committed
fix: complete bonus-ghostty.sh rename to step-2/ghostty-install.sh in g2 test doc
1 parent 88ef2a3 commit 43ea328

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/g2-fullscreen-fix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,18 +64,18 @@ Run `g2` again while neither window is fullscreen. It should behave identically
6464
## How to re-test after future changes
6565

6666
1. Edit `~/.zshrc` (canonical) first. Run `source ~/.zshrc` and repeat the manual repro above.
67-
2. Propagate the change into `bonus-ghostty.sh` inside the `TILING_EOF` heredoc. Remember to rename any inner `EOF` to `APPLESCRIPT` or another unique tag.
67+
2. Propagate the change into `step-2/ghostty-install.sh` inside the `TILING_EOF` heredoc. Remember to rename any inner `EOF` to `APPLESCRIPT` or another unique tag.
6868
3. Re-run the install script on a scratch account (or against a throwaway `$SHELL_RC`) and grep the result for `g2()` and `AXFullScreen` to confirm the heredoc expanded correctly.
6969
4. Syntax-check both files:
7070
```bash
71-
bash -n bonus-ghostty/bonus-ghostty.sh
71+
bash -n step-2/ghostty-install.sh
7272
bash -n step-final/step-final-install.sh
7373
```
7474
5. Balance-check heredocs:
7575
```bash
76-
grep -c "<<'TILING_EOF'" bonus-ghostty/bonus-ghostty.sh # expect 1
77-
grep -c '^TILING_EOF$' bonus-ghostty/bonus-ghostty.sh # expect 1
78-
grep -c "<<'APPLESCRIPT'" bonus-ghostty/bonus-ghostty.sh # expect 2
79-
grep -c '^APPLESCRIPT$' bonus-ghostty/bonus-ghostty.sh # expect 2
76+
grep -c "<<'TILING_EOF'" step-2/ghostty-install.sh # expect 1
77+
grep -c '^TILING_EOF$' step-2/ghostty-install.sh # expect 1
78+
grep -c "<<'APPLESCRIPT'" step-2/ghostty-install.sh # expect 2
79+
grep -c '^APPLESCRIPT$' step-2/ghostty-install.sh # expect 2
8080
```
8181
6. Run the manual repro on the real machine. Automated tests are not feasible here — the fix depends on the macOS Accessibility API and a GUI app, neither of which can be exercised from CI.

0 commit comments

Comments
 (0)