My dotfile manager (personal sh script) to automate and ease my hustle of setting up or switching to new mac. No more panic attacks on mac crash. ✌️
About Me
Open terminal and run the following commands:
cd ~
git clone https://github.com/hashirshoaeb/toast-mac.git --depth=1
cd toast-mac
chmod +x install.sh
./install.sh
cd ..
To sync settings in old mac
chmod +x sync.sh
./sync.sh
⚠️ Warning: If you want to give these dotfiles a try, you should first fork this repository, review the code, 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! I have shared mine for the sake of inspiration only.
What to automate basically? To be able to quickly setup my development environment on fresh macOS.
- My macOS’s default settings. (settings that are not part of iCloud)
- Setup terminal with oh my zsh and my favourite color
- Setup my dotfiles (i.e. .gitconfig)
- Install my work tools (i.e. Xcode, vscode)
I have written a setp by step guide on how to backup and sync dotfiles. [link]
If you found this project valuable, please consider giving it a ⭐️ on GitHub. Your support keeps me motivated! If you'd like to further support my work, you can buy me a book. Thank you for your generosity!
I first got the idea of dotfiles from Ruben. After some google search I stumbled upon dotfiles, there I found various dotfile implementations. And I just copied the scripts I needed for my personal use. For instance: I learned to setup mac defaults from Mathias Bynens's .macOS. The idea of symbolic links from Lars Kappert's blog . Scripting OH-MY-ZSH from Dries Vints's dotfile. Lastly thanks to Dries Vints's blog and Anish Athalye's blog for convincing me that this effort will be worth saving time in future.