#!/bin/sh set -ex echo "Installing dotfiles..." git clone --bare https://github.com/uasi/dotfiles.git ~/.dotfiles.git git --git-dir="$HOME/.dotfiles.git" --work-tree="$HOME" checkout master git sparse-checkout set --no-cone '*' '!LICENSE' cat <<'END' echo "Completed."