Dotfiles

By Ronald Valente. Published

Overview

My dotfiles are designed to be setup on macOS only at this time. I have plans to make them platform agnostic in the near-future.

Disclaimer

This is designed to bootstrap a clean install of macOS Sierra quickly. It will overwrite all the things in your homedir with symlinks!

Installation

If you want to customize the packages that are installed via Homebrew, do the following:

cp Brewfile ../.Brewfile

Either clone down my repo directly, or fork it and clone your copy down.

# Clone Repo to .dotfiles
REPO="https://github.com/rvalente/dotfiles.git"
git clone $REPO ~/.dotfiles

# Install Dotfiles
cd ~/.dotfiles && ./install.sh

Post-Installation

Ensure you create a ~/.gitconfig.local file with your username/email. You do not want to have this located within the .dotfiles repo!

[user]
  name = GIT_NAME
  email = GIT_EMAIL

[github]
  user = GITHUB_USERNAME
  token = GITHUB_TOKEN

Updating

If you want to update your submodules, then you can quickly run:

# First Run
git submodule init

# Subsequent Runs
git submodule update --remote --merge

Customization

If you want to tweak/customize you can create a ~/.${file}.local file, this will get loaded at the end of the main file.

For example, if you want to add some aliases to your setup, create a ~/.bash_aliases.local file with all the aliases that you want.

Contributors

Ben Allen

Credits

Thanks to Smyck for making a color scheme that doesn't suck.