zpmod
b19981f
High-performance Zsh module for script optimization and filesystem helpers
|
This tutorial gets you from zero to having zpmod loaded and verifying its two core capabilities:
Estimated time: 5 minutes
Use the CMake helper to build and install. For Zi users (Zi not required for loading):
Alternatively, install for your user:
Place the lines output by the installer at the very top of ~/.zshrc
(before plugin managers) so zpmod can intercept all early source
/ .
calls:
Open a new terminal (or exec zsh
). The module will:
.
and source
.zwc
if missing / staleRun:
You will see a list like:
Pick a sourced script from the list, and look for a sibling script.zwc
. If it exists and timestamps match or are newer, zpmod is successfully compiling.
For more verbose messages (compilation attempts, skips):
Reload your shell to see diagnostic warnings (e.g. skipped compilation due to permissions).