master hovercats/bin / rc / home
 1#!/bin/rc
 2
 3flag e +
 4
 5upstream=$HOME/src/selfmade/dotfiles
 6
 7if (test -e $upstream/HEAD) {
 8	GIT_WORK_TREE=$HOME
 9	GIT_DIR=$upstream
10	git $*
11}
12if not {
13	mkdir -p $upstream
14	git clone --bare git@github.com:hovercats/dotfiles $upstream
15}
16