Development record
zsh's common idioms `fpath=(~/.zfunc $fpath); autoload -Uz compinit; compinit` and `fpath+=(dir); autoload -Uz compinit` now block as script-unread, because the autoload search reaches the unfixed $fpath element before finding compinit, although a function found only in the account's own directories is what the guard already treats as unseen when FPATH is untouched. Found by the Fable review of lane G, 2026-10-11 (autoloadTargets).
issueresolvedminoriss-2610111749099986
zsh's common idioms fpath=(~/.zfunc $fpath); autoload -Uz compinit; compinit and fpath+=(dir); autoload -Uz compinit now block as script-unread, because the autoload search reaches the unfixed $fpath element before finding compinit, although a function found only in the account's own directories is what the guard already treats as unseen when FPATH is untouched. Found by the Fable review of lane G, 2026-10-11 (autoloadTargets).
Frontmatter
| id | iss-2610111749099986 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2610111749099986-guard-blocks-zsh-fpath-prepend-idiom.md
open on GitHub ↗ · commit history ↗