Skip to content

Instantly share code, notes, and snippets.

View aicherc's full-sized avatar

Christopher Aicher aicherc

View GitHub Profile
git clone --bare https://github.com/aicherc/dotfiles.git $HOME/dotfiles
function gitdot() {
/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME $@
}
mkdir -p $HOME/dotfiles-backup
if [ -e README.md ]; then
echo "Moving README.md to backup";
mv $HOME/README.md $HOME/dotfiles-backup/
fi;
gitdot checkout