On a fresh installation of macOS:
sudo softwareupdate -i -a
xcode-select --install
Install in ~/.dotfiles
with git:
git clone https://github.com/coxmi/dotfiles.git ~/.dotfiles && source ~/.dotfiles/install
Or alternatively with curl:
curl -fsSL https://raw.githubusercontent.com/coxmi/dotfiles/master/install-remote | bash
bin/*
: Anything inbin
will get added to your$PATH
and be made available everywhere.{folder}/{env,alias,functions,path,profile,prompt}
: Any executable file namedenv
,alias
,functions
,path
,profile
, orenv
is loaded into the shell environment.{folder}/.*
: Any.dotfiles
get copied into~
. These get copied when you rundotfiles files
.{folder}/install
: Any executable namedinstall
will be run withdotfiles install
.{folder}/preinstall
: Any executable namedpreinstall
will be run withdotfiles install
before anyinstall
scripts.{folder}/postinstall
: Any executable namedpostinstall
will be run withdotfiles install
after anyinstall
scripts.
Usage: dotfiles <command>
Commands:
- files Copies dotfiles (${folder}/.*) to ~ if they don’t already exist
- install Runs all installers (${folder}/install)
- macOS Apply macOS system defaults (requires reboot)
- dock Empty dock on macOS
- help This help message