diff options
author | Tom Willemse | 2013-07-22 23:01:45 +0200 |
---|---|---|
committer | Tom Willemse | 2013-07-22 23:01:45 +0200 |
commit | 1e32fe78f689490cfdeb8bb7b0b33edcfc019946 (patch) | |
tree | 6544ed5f26aa562852a977cbd8c84bf9cea87871 /git-dot | |
download | utilities-1e32fe78f689490cfdeb8bb7b0b33edcfc019946.tar.gz utilities-1e32fe78f689490cfdeb8bb7b0b33edcfc019946.zip |
Initial commit
Diffstat (limited to 'git-dot')
-rwxr-xr-x | git-dot | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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" "$@" |