blob: a145ce1ad03c019f8f2a0416d54d933c7dc83833 (
plain)
1
2
3
4
5
6
7
8
9
10
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" "$@"
|