Skip to content

Latest commit

 

History

History
57 lines (41 loc) · 857 Bytes

File metadata and controls

57 lines (41 loc) · 857 Bytes

Setup MacBook

Generate keys and install Command Line Tools

$ ssh-keygen
$ xcode-select --install

Clone dotfiles

$ git clone git@github.com:castor4bit/dotfiles.git ~/Projects/dotfiles
$ cd ~/Projects/dotfiles

Set OS X preferences

$ sh ./.osx
  • Restart (not logout) computer
  • Install Xcode (from App Store)

Agree to the Xcode license agreements

$ sudo xcodebuild -license

Install Homebrew and packages

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ cd ~/Projects/dotfiles
$ brew bundle

Install dotfiles and misc

$ cd ~/Projects/dotfiles
$ ./setup.sh
$ cp ./.zshrc.mine $HOME/.zshrc.mine

$ ./helper.sh

Edit .zshenv.local

$ vi ~/.zshenv.local
---
# github
export HOMEBREW_GITHUB_API_TOKEN=