Skip to content

Instantly share code, notes, and snippets.

View mfrinnstrom's full-sized avatar

Mattias Frinnström mfrinnstrom

  • Jönköping
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mfrinnstrom on github.
  • I am mfrinnstrom (https://keybase.io/mfrinnstrom) on keybase.
  • I have a public key whose fingerprint is CCFA 5C6C 97C5 47CD 4409 2E92 0A6E 4637 130E E6CB

To claim this, I am signing this object:

git clone --bare git@github.com:mfrinnstrom/dotfiles.git $HOME/.dotfiles
function dotfiles {
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@
}
mkdir -p .dotfiles-backup
dotfiles checkout
if [ $? = 0 ]; then
echo "Checked out dotfiles.";
else
echo "Backing up pre-existing dotfiles.";