Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 740 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 740 Bytes

Dotfiles

Introduction

I use these scripts to bootstrap new machines, install software and prevent configuration drifts between my personal laptop and the one I use at work.

Bootstrapping a new machine

Generate SSH keys, copy them, and add them to Github:

ssh-keygen -t rsa -b 4096 -f ~/.ssh/personal
pbcopy < ~/.ssh/personal.pub

ssh-keygen -t rsa -b 4096 -f ~/.ssh/work
pbcopy < ~/.ssh/work.pub

Clone this as a bare git repository:

git clone --bare [email protected]:creativecreature/dotfiles.git $HOME/.cfg

Checkout the bare repository content to the home directory:

./checkout.sh

Run the bootstrap script to install software, create ssh keys, download oh-my-zsh, etc.

./bootstrap.sh