From 1e32fe78f689490cfdeb8bb7b0b33edcfc019946 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 22 Jul 2013 23:01:45 +0200 Subject: Initial commit --- git-dot | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 git-dot (limited to 'git-dot') diff --git a/git-dot b/git-dot new file mode 100755 index 0000000..a145ce1 --- /dev/null +++ b/git-dot @@ -0,0 +1,11 @@ +#!/bin/zsh + +GITDIR=/home/slash/projects/dotfiles/.git + +if [ ! -d "$GITDIR" ]; then + echo "Cloning dotfiles to $GITDIR" + git clone git@ryuslash.org:dotfiles.git "$GITDIR" +fi + +cd $HOME +git --git-dir "$GITDIR" --work-tree "$HOME" "$@" -- cgit v1.3-2-g0d8e