Instant warm startup with memory-mapped bytecode wordcode, zero subprocess forks, automatic canonical ordering, and native Oh-My-Zsh & Powerlevel10k support.
if [ ! -d "${HOME}/.zload" ]; then
git clone --depth 1 https://github.com/casonadams/zload.git "${HOME}/.zload"
fi
source "${HOME}/.zload/zload.zsh"
Designed from first principles to eliminate the physical bottlenecks of shell startup.
bundle.zsh.zwc. Sourcing one memory-mapped file replaces dozens of individual disk reads.git, sed, grep, or subshell forks $(...).zload sorts safely.compinit until your first <Tab> press. Early compdef calls are buffered and replayed, saving 40โ100ms at startup.nvm, pyenv, or kubectl via --on. Startup latency is 0ms until the command is invoked.omz:git or prezto:utility without 100MB framework clones. Automatically injects missing lib/git.zsh and theme colors.$PATH and $fpath, expands ~, verifies directory existence, and auto-links ~/.zfunc for custom completions.zload lock and sync across machines with zload sync for 100% deterministic dotfiles.Choose a tab below to see how easy your ~/.zshrc looks with zload.
# 1. Bootstrap zload (auto-clones on fresh machines)
if [ ! -d "${HOME}/.zload" ]; then
git clone --depth 1 https://github.com/casonadams/zload.git "${HOME}/.zload"
fi
source "${HOME}/.zload/zload.zsh"
# 2. Deduplicating path management in clean array syntax
user_paths=(
~/bin
~/.local/bin
/opt/homebrew/bin
)
zload path "${user_paths[@]}"
# 3. Declare plugins
plugins=(
casonadams/zline
omz:lib/completion.zsh
zsh-users/zsh-completions
omz:git
omz:extract
casonadams/walh-shell
lukechilds/zsh-nvm --on nvm,node,npm
zsh-users/zsh-syntax-highlighting --defer
zsh-users/zsh-autosuggestions
)
zload "${plugins[@]}"
bindkey '^ ' autosuggest-accept
๐ก Prompt Recommendation: Pair with a high-performance prompt like zline (zload casonadams/zline), Powerlevel10k (zload romkatv/powerlevel10k), or Starship (zload eval starship "starship init zsh") to complement zload's sub-millisecond shell startup.
# Prepend to PATH: native array syntax with existence check and deduplication
user_paths=(
~/.opencode/bin
~/.cargo/bin
~/.local/bin
/opt/homebrew/bin
/opt/homebrew/sbin
/opt/homebrew/opt/openjdk/bin
/usr/local/bin
)
zload path "${user_paths[@]}"
# Prepend to fpath with deduplication
zload fpath ~/.my-completions /opt/homebrew/share/zsh/site-functions
# Automatic ~/.zfunc discovery:
# If ~/.zfunc exists (uv, bwc, pipx completions), zload automatically
# links it into $fpath and bytecode bundles. Zero config required!
# Inspect active entries anytime:
# $ zload path
# $ zload fpath
How zload compares to existing alternatives in the Zsh ecosystem.
| Feature | Oh-My-Zsh | Zinit | Antidote | zload |
|---|---|---|---|---|
| Warm Startup Overhead | 200โ500 ms | 15โ40 ms | 8โ15 ms | < 0.5 ms |
| Interactive Warm Subprocesses | Many | Several | Few | Zero (0) |
| Memory-Mapped Wordcode (.zwc) | โ | Partial | โ | โ Full Native |
| Pure Zsh Builtins (0 Dependencies) | โ Pure Zsh | โ Complex Annexes | โ Pure Zsh | โ 100% Pure Zsh |
| Automatic Canonical Ordering | โ | โ | โ | โ Automatic |
| Built-in Lazy <Tab> Compinit | โ | Manual | โ | โ Automatic |
| Zero-Subprocess Eval Caching | โ | โ | โ | โ Native |
| OMZ Library Auto-Shims | Native | Manual | โ | โ Automatic |
| GitHub Releases Binaries (gh-r) | โ | โ Complex | โ | โ Clean |
| Reproducible Lockfiles (sync) | โ | โ | โ | โ Built-in |