A painstakingly curated collection of configs, scripts, and digital comfort blankets for macOS development on my personal and work machines (with some Ubuntu compatibility thrown in). Proceed with caution and a sense of adventure! 🚀
If you want to give these dotfiles a try, you should first fork this repository, review the code (or ask an LLM to do it for you with a custom prompt for your use case), and remove things you don't want or need. Don't blindly use my settings unless you know what that entails. Use at your own risk! (But also, have fun with it!)
This setup includes configurations for:
| Component | Description |
|---|---|
| Zsh | oh-my-zsh, custom aliases, functions, and prompt |
| iTerm2 | Color schemes downloaded/converted from Visual Studio Code themes via ditto-cli 🎨 You can also preview these themes without applying them (steps here). |
| VS Code | Settings and keybindings, et al. |
| Git | Configuration, global gitignore |
| SSH | Config template |
| macOS | System preferences via scripts |
| Homebrew | Package management for most tooling |
| Node.js | Development environment with nvm |
Before diving into editing these files though, make sure you have:
- Zsh & oh-my-zsh installed
- iTerm2 (download here) - optional but recommended
- Xcode Command Line Tools (will be installed automatically if missing)
# Create a cozy dev directory
mkdir -p ~/dev && cd ~/dev
# Clone the magic
git clone https://github.com/rheaditi/dotfiles.git
# Let the scripts do their thing
cd dotfiles && ./setup.shThe setup script runs through some additional steps based on the OS / some arguments:
- macOS Setup - Configures system preferences
- Dotfiles Setup - Symlinks config files to your home directory
- Homebrew Setup - Installs essential packages and apps
- Node.js Setup - Installs Node.js and global packages
- Zsh Setup - Configures shell environment
After the automated setup, I also do the following:
- Install Fira Code font (download here)
- Reload the shell:
source ~/.zshrc - Set up VS Code (if needed):
./scripts/setup.vscode.sh
Feel free to copy or change anything in here to suit your needs - but again, at your own risk!
Happy coding! 🎉
