File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ ```
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments