A highly optimized, purpose-built Zsh configuration focused on startup speed, modular organization, and a clean, reproducible shell experience across multiple platforms (macOS, WSL, Linux distros).
- 🧠 Sub-150ms startup time (measured consistently with benchmarking)
- 🔌 Antidote plugin manager (compiled + cached for maximum speed)
- 📦 Modular
includes/directory structure- Early/late phase loading for ordered control
- Hooks and custom completions
- 🐍 full, but optimized pyenv + goenv support (deferred loading for performance)
- 🧭 zoxide, fzf, for a great UX
- 🧼 Automatic
.zwccompilation and caching of everything - 🧪 Easy benchmarking with
benchzshy.shandzsh_profile.py - 💻 Works across macOS, WSL, any Linux distro I've tried
- 🔒 Private
secrets.zshsupport - 🛠 Easy setup with only
gitandantitoderequired - ⚡️ Lightning fast PowerLevel 10k prompt with no slowdowns from plugins
cd ${HOME}
git clone https://github.com/ephur/zshrc.git .zsh
ln -s .zsh/zshrc .zshrcPowered by Antidote:
- All plugins listed in
antidote_plugins_darwin.txtorantidote_plugins_linux.txt - Precompiled via
update_zsh_pluginsfunction - No runtime
antidote load, just direct cache sourcing
Run this to benchmark shell startup:
time zsh -i --login -c echoYou should see results well below 150ms real time.
To include private content (tokens, keys, aliases):
Create a file at:
~/.zsh/secrets.zshThis is sourced if present, but not included in the repo.
To include extra functions you can't commit, or are bespoke to your environment, create a file at:
~/.zsh/work.zshThis is sourced after secrets.zsh and can contain any customizations you need.
This file is also not included in the repo.
includes/init.zsh— core functions and setupincludes/early_*.zsh— sourced before completionsincludes/late_*.zsh— sourced after completion setupcache/— holds precompiled and generated artifacts
For a complete list of available functions, aliases, and commands, see the CHEATSHEET.md or run:
zhelp # Display full cheatsheet
zhelp git # Show git functions only
zhelp aws # Show AWS functions onlyFast. Modular. Predictable. Built for terminal-first productivity.