diff options
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/ "$@" |