My personal ZSH configuration framework.
A performance-aware ZSH configuration designed for sub-200ms startup times while maintaining full functionality.
curl -fsSL https://raw.githubusercontent.com/shyndman/zush/main/install.sh | zsh- Instant Prompts - Basic prompt appears immediately, full prompt loads after ~129ms
- Plugin Management - Simple
zushp user/repocommand to install GitHub plugins - Lazy Loading - Tools like nvm, pyenv, cargo load only when needed
- Auto-compilation - All ZSH files compiled with zcompile for faster loading
- Smart Caching - Environment changes cached for instant startup
zushp user/repo # Install plugin
zushp_update # Update all plugins
zush_clean # Clean all caches and plugins- Install the tooling dependencies:
pre-commit,shellcheck, andshfmt(Homebrew:brew install pre-commit shellcheck shfmt). - Enable hooks locally with
pre-commit install. - Run everything once before sending a PR:
pre-commit run --all-files.
Hooks currently enforce:
shellcheck(with Zsh-friendly flags) on rc.d scripts,home/.zshenv,install.sh, and any shell helpers underscripts/.shfmt --diffon Bash-compatible scripts (install.sh,scripts/*.sh).zsh -nsyntax validation across.zsh/.shsources plus completions.- A
zcompiledry run onlib/*.zsh,rc.d/*.zsh, andhome/.zshenvto ensure everything remains compilable.
Current startup time: ~129ms with instant prompts providing immediate visual feedback.
Mid-performance by design. 🦥