/dotfiles

Get started with your own dotfiles.

Primary LanguageShellMIT LicenseMIT

Introduction

Forked from driesvints/dotfiles and modified moderately for my needs.

📖 - Read the original blog post

A Fresh macOS Setup

These instructions are for when you've already set up your dotfiles. If you want to get started with your own dotfiles you can find instructions below.

Before you re-install

First, go through the checklist below to make sure you didn't forget anything before you wipe your hard drive.

  • 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?

Installing macOS cleanly

After going through our checklist above and making sure you backed everything up, we're going to cleanly install macOS with the latest release. Follow this article to cleanly install the latest macOS version.

Setting up your Mac

If you did all of the above you may now follow these install instructions to setup a new Mac.

  1. Update macOS to the latest version with the App Store
  2. Generate a new public and private SSH key by running:
#!/usr/bin/env zsh

curl https://raw.githubusercontent.com/knutle/dotfiles/HEAD/ssh.sh | sh -s "<your-email-address>"
  1. Clone this repo to ~/.dotfiles with:
#!/usr/bin/env zsh

git clone git@github.com:knutle/dotfiles.git ~/.dotfiles
  1. Run the installation with:
#!/usr/bin/env zsh

~/.dotfiles/fresh.sh
  1. Install the few apps that I haven't yet managed to include in the bootstrapping.

    • Microsoft Teams
    • Docker
    • Superkey, BTT, etc
    • Mimestream
    • MongoDB Compass
    • Pixelmator
    • Raycast
    • Rectangle
    • Rocket
  2. After mackup is synced with your cloud storage, restore preferences by running mackup restore

  3. Restart your computer to finalize the process

Your Mac is now ready to use!

Thanks To...

This was forked from driesvints/dotfiles, so I will add a thank you to him, but otherwise will just leave the original credits as they were.

I first got the idea for starting this project by visiting the GitHub does dotfiles project. Both Zach Holman and Mathias Bynens were great sources of inspiration. Sourabh Bajaj's Mac OS X Setup Guide proved to be invaluable. Thanks to @subnixr for his awesome Zsh theme! Thanks to Caneco for the header in this readme. And lastly, I'd like to thank Emma Fabre for her excellent presentation on Homebrew which made me migrate a lot to a Brewfile and Mackup.

In general, I'd like to thank every single one who open-sources their dotfiles for their effort to contribute something to the open-source community.

Todo

  • Set Terminal window size to 200 columns, 40 rows