diff options
| author | 2013-07-22 23:01:45 +0200 | |
|---|---|---|
| committer | 2013-07-22 23:01:45 +0200 | |
| commit | 1e32fe78f689490cfdeb8bb7b0b33edcfc019946 (patch) | |
| tree | 6544ed5f26aa562852a977cbd8c84bf9cea87871 /git-etc | |
| download | utilities-1e32fe78f689490cfdeb8bb7b0b33edcfc019946.tar.gz utilities-1e32fe78f689490cfdeb8bb7b0b33edcfc019946.zip | |
Initial commit
Diffstat (limited to 'git-etc')
| -rwxr-xr-x | git-etc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/usr/bin/zsh + +GITDIR=/home/slash/projects/etcfiles + +if [ ! -d "$GITDIR" ]; then + echo "Cloning etcfiles to $GITDIR" + git clone git@ryuslash.org:etcfiles.git "$GITDIR" +fi + +cd /etc +git --git-dir "$GITDIR" --work-tree /etc/ "$@" |
