oedokumaci / .dotfiles

Repository to manage my dotfiles and bootstrap a new Mac.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps to bootstrap a new Mac

  1. Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
  1. Clone repo into new hidden directory.
git clone https://github.com/oedokumaci/.dotfiles ~/.dotfiles
  1. You can run the setup script for steps 3 and 4 below or do them manually.
python setup.py
  1. Install Homebrew, followed by the software listed in the Brewfile.
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Then pass in the Brewfile location...
brew bundle --file ~/.dotfiles/Brewfile

# ...or move to the directory first.
cd ~/.dotfiles && brew bundle
  1. Create symlinks in the Home directory to the real files in the repo for each dotfile.
ln -s ~/.dotfiles/.some_dotfile ~/.some_dotfile

Notes

  • If you would like to keep your .dotfiles folder in a different location, you can use the setup script as is and later create a symlink to the .dotfiles folder in your home directory.

To-do

  • Learn how to use defaults to record and restore System Preferences and other macOS configurations.
  • Make a checklist of steps to decommission your computer before wiping your hard drive.
  • Create a bootable USB installer for macOS.
  • Integrate other cloud services into your Dotfiles process (Dropbox, Google Drive, etc.).

Credits

Dotfiles

Dotfiles from Start to Finish-ish

How to

https://github.com/lk16/dotfiles/tree/master/howto

About

Repository to manage my dotfiles and bootstrap a new Mac.


Languages

Language:Python 45.3%Language:Shell 34.1%Language:Ruby 19.7%Language:Vim Script 0.9%