|
zpmod
b19981f
High-performance Zsh module for script optimization and filesystem helpers
|
This directory contains the zpmod module sources organized by layer:
source.c, fs.c, utils.c, emoji.c)zpmod_builtin.c, readarray.c, fs_builtins.c)options.c, sigcount.h)zpmod_*.h) — do not include internal zsh headers heremodule.c, zpmod.mdh/.pro stubs and imports)_zpmodmodule/module.c; features via features_/enables_; setup_ installs overrides, finish_ restores.zalloc, zfree, zsfree); when length is known, free with the exact length.compat/options.c and include/zpmod_compat.h (zp_conv_opt).vendor/zsh; keep public APIs within include/zpmod_*.h to avoid leaking internal headers between units.module/zpmod.mdh prefers zsh.mdh when available. If not, it includes module/zpmod_imports.h.module/zpmod_imports.h aggregates only the required zsh *.epro headers.*.epro include only when you introduce a new zsh symbol and the build reports a missing prototype/export.tests/* and run via CTest; module loaded from the staged prefix.