These are my personal dotfiles, they help me set up and maintain my Mac by taking away the effort of installing everything manually. Feel free to explore, contribute and copy parts for your own dotfiles!
Backups of settings are done via Mackup.
The inspiration came from visiting the GitHub does dotfiles project. Other sources of inspiration were Dries' and Freek's dotfiles repositories.
Follow the instructions below to set up new MacOS devices.
If you're migrating from an existing Mac, make sure to backup all your existing data first. Here's a helpful checklist to validate nothing is missing.
- Did you commit and push any changes/branches to your git repositories?
- Did you save all important documents from non cloud storage directories?
- Did you save all of your work from apps which aren't synced through cloud storage services?
- Did you export important data from your local database?
- Did you update mackup to the latest version and ran
mackup backup
?
After backing up your data you may now follow these install instructions to setup a new one.
- Generate a new public and private SSH key by running:
curl https://raw.githubusercontent.com/fdalcin/dotfiles/HEAD/misc/ssh.sh | sh -s "<your-email-address>"
- Copy the newly created SSH key and add it to GitHub
- Clone this repository to
~/.dotfiles
with:git clone [email protected]:fdalcin/dotfiles.git ~/.dotfiles
- Run the installation with:
cd ~/.dotfiles && ./install.sh
- Start
Herd.app
and run its install process - After mackup is synced with your cloud storage, restore preferences by running
mackup restore
- Restart your computer to finalize the process
Your Mac should now be ready to use!
Note You can use a different location other than
~/.dotfiles
if you want. Make sure you also update the reference in thezshrc
file.