docs(paths): document XDG-first Zi defaults - #890
Merged
Conversation
Deploying zsh with
|
| Latest commit: |
f1d7dfd
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6cba81c4.zsh.pages.dev |
| Branch Preview URL: | https://docs-init-loader-defaults.zsh.pages.dev |
The customization table lists every ZI[...] field without saying which
entry point assigns it, so readers could not tell that the loader sets
some values before zi.zsh runs, or that ZI[HOME_DIR] resolves differently
depending on whether the loader is used.
- Note which fields the loader owns and that the rest are derived by
zi.zsh from those values.
- Record the deliberate ZI[HOME_DIR] divergence: the loader defaults to
the XDG data path while zi.zsh's own fallback for an unset value is
${HOME}/.zi.
- Document ZI[LOADER_HISTORY], the loader-only toggle that suppresses the
HISTFILE, SAVEHIST, and HISTSIZE defaults.
Pairs with the loader changes in z-shell/src.
ss-o
force-pushed
the
docs/init-loader-defaults
branch
from
August 28, 2026 03:45
2667f42 to
f1d7dfd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #887. Closes #889.
Parent: z-shell/.github#553
Project: Z-shell Delivery
What this changes
ZI[LOADER_HISTORY].ZDOTDIRis not a Zi application-data root.XDG_ZI_*as derived compatibility outputs rather than configuration inputs.ZPFXexamples from${ZI[HOME_DIR]}while preserving historical recordings.Publication follows the stable Zi core promotion and src installer merge so the wiki does not describe unshipped behavior as current.
Verification
pnpm build:enpasses with 75 artifacts, 69 canonical documents, 74 link-bearing files, and all corpus evaluations passing.git diff --checkpasses.