Skip to content

schraith/dotfiles

 
 

Repository files navigation

Introduction

This repository serves as my way to help me setup and maintain my Mac. It takes the effort out of installing everything manually. Everything needed to install my preferred setup of macOS is detailed in this readme. Feel free to explore, learn and copy parts for your own dotfiles. Enjoy!

I've forked this from the dotfiles repository from Dries Vints (https://github.com/driesvints/dotfiles) so look there for the original details.

A Fresh macOS Setup

These instructions are for setting up new Mac devices. Instead, if you want to get started building your own dotfiles, you can find those instructions below.

Backup your data

If you're migrating from an existing Mac, you should first make sure to backup all of your existing data. Go through the checklist below to make sure you didn't forget anything before you migrate.

  • Did you commit and push any changes/branches to your git repositories?
  • Did you remember to save all important documents from non-iCloud directories?
  • Did you save all of your work from apps which aren't synced through iCloud?
  • Did you remember to export important data from your local database?
  • Did you update mackup to the latest version and ran mackup backup?

Setting up your Mac

After backing up your old Mac you may now follow these install instructions to setup a new one.

  1. Update macOS to the latest version through system preferences

  2. Generate a new public and private SSH key by running:

    curl https://raw.githubusercontent.com/driesvints/dotfiles/HEAD/ssh.sh | sh -s "<your-email-address>"
  3. Clone this repo to ~/.dotfiles with:

    git clone --recursive git@github.com:schraith/dotfiles.git ~/.dotfiles
  4. Run the installation with:

    ~/.dotfiles/fresh.sh
  5. After mackup is synced with your cloud storage, restore preferences by running mackup restore

  6. Restart your computer to finalize the process

Your Mac is now ready to use!

💡 You can use a different location than ~/.dotfiles if you want. Make sure you also update the reference in the .zshrc file.

Cleaning your old Mac (optionally)

After you've set up your new Mac you may want to wipe and clean install your old Mac. Follow this article to do that. Remember to backup your data first!

Releases

No releases published

Packages

No packages published

Languages

  • Shell 99.1%
  • Ruby 0.9%