--- /dev/null
+#!/bin/bash
+
+set -eu
+
+cd "$HOME"
+
+FILES=(
+ .bash_logout
+ .profile
+ .bash_profile
+ .bashrc
+ .gitconfig
+ .git-hooks-global
+ .gitignore-global
+ .inputrc
+ .pythonrc.py
+ .screenrc
+ .vimrc
+)
+
+if ! [ -d .dotfiles ]; then
+ git clone https://code.delx.au/dotfiles .dotfiles
+fi
+
+echo 'Removing...'
+for f in "${FILES[@]}"; do
+ rm -f "$f" && echo " $f"
+done
+
+echo 'Installing...'
+for f in "${FILES[@]}"; do
+ if [ -f "${HOME}/.dotfiles/$f" ]; then
+ echo " $f"
+ ln -s "${HOME}/.dotfiles/$f"
+ fi
+done
+
+echo 'Done!'