A modular, organized ZSH setup with custom prompt, aliases, functions, and plugins.
- init.zsh: Main entry point that sources all other modules
- prompt.zsh: Custom prompt with git integration
- path.zsh: PATH variable management
- env.zsh: Environment variables
- aliases.zsh: Command shortcuts (pnpm, bun, claude, etc.)
- functions.zsh: Custom shell functions
- secrets.zsh: Private environment variables (not tracked in git)
- completions.zsh: Tab completion configuration
- plugins.zsh: External plugin configuration
- Clone this repository to
~/.zsh - Add
source ~/.zsh/init.zshto your~/.zshrc
- Performance measurement utilities (
measure_startup.sh,benchmark.sh)
AUTO_CD: Navigate to directories without typingcd
- Shows relative path from git root
- Displays git branch when in a repository
- Clean, minimal design with color coding
md: Create directory and cd into itkillport: Kill processes using specific portsrmall: Recursively remove specific directorieslall: Find directories by namegroot: Navigate to git repository root
- Claude CLI shortcuts (
c,cc,crwith permission variants) - Shortcuts for package managers (pnpm, bun)
- Development workflow helpers
- Git and terraform shortcuts
- zsh-autosuggestions
- zsh-z for directory jumping (aliased as
zc) - zsh-syntax-highlighting
This configuration loads modules in a specific order through init.zsh to ensure proper functionality:
- path.zsh
- env.zsh
- prompt.zsh
- aliases.zsh
- functions.zsh
- secrets.zsh
- completions.zsh
- plugins.zsh
- Run
measure_startup.shto profile your shell startup - Run
benchmark.shfor a quick startup time check