Skip to content

Instantly share code, notes, and snippets.

@M8is
M8is / install_dotfiles
Last active July 22, 2017 12:12
Installation script for the M8is/dotfiles repository
#! /bin/bash
CHECKOUT=$HOME/dotfiles
BACKUP=${CHECKOUT}_backup
git clone https://github.com/M8is/dotfiles $CHECKOUT
# setup symlinks
for i in $(pushd "$CHECKOUT" && git ls-files && popd); do
# create backup