/dotconfig

shell agnostic configuration dotfiles

Primary LanguageShell

.config

The shell-agnostic pieces of my dotfiles, consisting of configuration files for various programs, executables, & setup scripts for installing software on new machines.

Structure

config is for all configuration files. The files in here are synced directly into $HOME. bin is for my own executables.

setup is for one-time setup scripts for new computers, mostly lists of packages to install from various package managers. osx.sh sets up a new Mac. These files are not synced anywhere.

The "copy.sh" script syncs all the configuration files into your home directory.

Setup Notes/Order

(See also my new mac gist) On a new Mac, this is the general order of things:

  1. git won't even work at first without XCode, so open App Store & spend an hour installing it
    • xcode-select --install is supposed to be enough but I've had problems with it in the past
  2. git clone https://github.com/phette23/bashrc.git && cd bashrc && ./copy.sh
  3. ./setup/brew.sh must come before npm.sh, makes sense to run before py & ruby
  4. ./setup/cask.sh
  5. ./setup/npm.sh
  6. ./setup/py.sh
  7. ./setup/ruby.sh
  8. ./setup/osx.sh makes sense to run last, but mostly important to do after brew cask has installed apps like Chrome that will have their settings changed