Skip to content

castor4bit/dotfiles

Repository files navigation

Setup MacBook

Generate keys and install Command Line Tools

$ ssh-keygen
$ xcode-select --install

Clone dotfiles

$ git clone [email protected]: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 tap Homebrew/bundle
$ 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=