env/contains environment configurations. These are copied over to the system via./sync-env.setups/contains scripts that run tool installations or system configurations. Run them with./setup. To run just one tool, run./setup toolname.
Both commands can be ran as dry-runs: ./setup toolname --dry
- Install git:
- MacOS:
xcode-select --install - Linux: often included by default. If not, install with distribution's package manager.
- MacOS:
- Set up new ssh key for GitHub
- Clone the repo:
cd ~/src/personal && git clone git@github.com:domtriola/dotfiles.git && cd dotfiles - Run the setup tools:
./sync-env./setup
Run ./sync-env after updating anything in env/. Update sync-env first if you create a new file or directory.
Run ./setup after updating anything in setups/.