A clean, privacy-conscious dotfiles template for macOS development environments. This template removes personal information while preserving useful configurations.
- Shell:
zshwith oh-my-zsh, Powerlevel10k theme, custom aliases - Git Workflows: Interactive branch creator, PR helper, useful aliases
- Development: Node.js, Docker, Terraform shortcuts
- System Setup: PATH management, environment variables
- macOS with Homebrew installed
- oh-my-zsh (installation guide)
git clone [YOUR_REPO_URL] ~/Sites/dotfiles
cd ~/Sites/dotfiles
# Backup existing configs
mkdir -p ~/.dotfiles-backup
mv ~/.zshrc ~/.aliases ~/.path ~/.env_vars ~/.dotfiles-backup 2>/dev/null
# Link configuration files
ln -s ~/Sites/dotfiles/.zshrc ~/.zshrc
ln -s ~/Sites/dotfiles/.aliases ~/.aliases
ln -s ~/Sites/dotfiles/.path ~/.path
ln -s ~/Sites/dotfiles/.env_vars ~/.env_vars# Install oh-my-zsh plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# Install Powerlevel10k theme
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
# Reload shell
source ~/.zshrcGit Aliases & Workflows:
guma # Update main branch from origin
gcbr # Clean merged branches
gpushu # Push new branch with upstreamDevelopment Tools:
dockerclean # Clean old containers
brewup # Update Homebrew
nr # npm run shortcut
tf # Terraform shortcutNavigation:
cl # Clear and list
cdev # Quick cd to Development
cdocs # Quick cd to Documentsdotfiles/
├── .aliases # Command shortcuts and functions
├── .env_vars # Environment variables
├── .path # PATH modifications
├── .zshrc # Zsh configuration
├── .vimrc # Vim configuration
└── README.md
- ✅ No API keys, tokens, or credentials
- ✅ No hardcoded passwords or secrets
- ✅ No private SSH keys
- ✅ Personal paths replaced with template variables
- ✅ Shell history excluded from git
- ✅ Email addresses templated
- First Time Setup: Run
p10k configureafter installation to customize your prompt - Git Workflow: Aliases assume
mainas the default branch (notmaster) - Docker: Includes cleanup aliases for old containers
Feel free to:
- Submit improvements to aliases or configurations
- Add new useful development shortcuts
- Improve the template/restore process
- Fix macOS compatibility issues
MIT License - feel free to adapt this template for your own use!
This template was created to share useful dotfiles configurations while maintaining privacy and security.