The shell-agnostic pieces of my dotfiles, consisting of configuration files for various programs, executables, & setup scripts for installing software on new machines.
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.
(See also my new mac gist) On a new Mac, this is the general order of things:
git
won't even work at first without XCode, so open App Store & spend an hour installing itxcode-select --install
is supposed to be enough but I've had problems with it in the past
git clone https://github.com/phette23/bashrc.git && cd bashrc && ./copy.sh
./setup/brew.sh
must come before npm.sh, makes sense to run before py & ruby./setup/cask.sh
./setup/npm.sh
./setup/py.sh
./setup/ruby.sh
./setup/osx.sh
makes sense to run last, but mostly important to do afterbrew cask
has installed apps like Chrome that will have their settings changed