Skip to content

Commit e470ca3

Browse files
committed
chore: update gitignore, checksums, and docs
- Exclude AI agent instruction files from git tracking (AGENTS.md, CLAUDE.md, GEMINI.md, .github/copilot-instructions.md) - Add .geminiignore - Regenerate lib/checksum.txt to reflect updated scripts - Document sync-init.sh usage in docs/README.md - Remove deprecated git.io short URLs from README
1 parent bf6a68a commit e470ca3

3 files changed

Lines changed: 33 additions & 5 deletions

File tree

.geminiignore

Whitespace-only changes.

docs/README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,40 @@
3131
- https://wiki.zshell.dev
3232
- Loader:
3333
- https://init.zshell.dev
34-
- https://git.io/zi-loader
3534
- Installer:
3635
- https://get.zshell.dev
37-
- https://git.io/get-zi
3836
- R2:
3937
- https://r2.zshell.dev
4038
- IPFS:
4139
- https://ipfs.zshell.dev
4240
- jsDeliver:
4341
- https://cdn.jsdelivr.net/gh/z-shell/zi-src@main/
42+
43+
### Maintainer — Verify and Sync Loader
44+
45+
Check whether the local `lib/zsh/init.zsh` matches the canonical GitHub raw `main` copy:
46+
47+
```sh
48+
sh lib/sh/sync-init.sh
49+
```
50+
51+
Replace the local file if it drifts:
52+
53+
```sh
54+
sh lib/sh/sync-init.sh --write
55+
```
56+
57+
Run against local fixtures (no network required, useful in tests):
58+
59+
```sh
60+
sh lib/sh/sync-init.sh \
61+
--local /tmp/my-init.zsh \
62+
--remote /tmp/remote-init.zsh \
63+
--checksum-url /tmp/checksum.txt
64+
```
65+
66+
Skip checksum validation:
67+
68+
```sh
69+
sh lib/sh/sync-init.sh --no-checksum
70+
```

lib/checksum.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
13668e0d6edce92994b0434932873d8a8a2c2579a2cb53964de19212f02a2954 lib/sh/install_zpmod.sh
2-
6214cad3026f4150dfe1070592f6b24256cae5c60c596bdfebda07ffeaaf39fc lib/sh/install.sh
3-
23a563e80249a866c7cba3ac44eaedb1ca38f20c35690fb764a7cb75e95d38be lib/zsh/init.zsh
1+
5d8fdd881b84548f38c1d5ffc6d5f46a18919d8dd6c1398d69abe055dd76ef98 lib/sh/install_zpmod.sh
2+
9d643c40be25f71d93dd295dacc58944defe7218f961f3f3ecb4ee9c0a56d486 lib/sh/install.sh
3+
83d9f0dc013376b5aa03b7a11f3908058da176df3407ac6e2872857d7c9658fd lib/sh/sync-init.sh
4+
66dc5bb0575d44e4e1192e229204abe1ac47979a05ee3c3bb23afc2b9b493637 lib/zsh/init.zsh

0 commit comments

Comments
 (0)