12 lines
234 B
Text
12 lines
234 B
Text
|
#!/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/ "$@"
|