My personal zsh configuration with detailed comments explaining each section.
- Oh My Zsh framework with git plugin
- NVM (Node Version Manager) support
- pnpm package manager configuration
- Custom aliases for quick access
- Detailed inline documentation for easy customization
-
Clone this repository:
git clone <your-repo-url> ~/Projects/zsh-config
-
Backup your existing
.zshrc:mv ~/.zshrc ~/.zshrc.backup
-
Create a symlink to use this config:
ln -s ~/Projects/zsh-config/.zshrc ~/.zshrc
Or copy it directly:
cp ~/Projects/zsh-config/.zshrc ~/.zshrc
-
Reload your shell:
source ~/.zshrc
Never commit API keys or secrets to this repository!
To add secrets:
- Create
~/.zsh_secrets(or~/.secrets) - Add your keys:
export GEMINI_API_KEY="your-key-here" - Uncomment the sourcing line in
.zshrcif needed - Ensure
~/.zsh_secretsis in your.gitignore
- zsh (usually pre-installed on macOS)
- Oh My Zsh (optional but recommended)
- NVM (if using Node.js version management)
- pnpm (if using pnpm package manager)
Personal configuration - use as you wish!