Skip to content

Instantly share code, notes, and snippets.

@analogist
Last active July 31, 2019 02:33
Show Gist options
  • Save analogist/ddf2cdf857be374c9868a8d8e48c582f to your computer and use it in GitHub Desktop.
Save analogist/ddf2cdf857be374c9868a8d8e48c582f to your computer and use it in GitHub Desktop.
git clone --bare https://github.com/analogist/dotfiles.git $HOME/.dotfiles
function dotfile ()
{
git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME $@
}
dotfile config status.showUntrackedFiles no
if [ -f ~/.bashrc ]; then
mv ~/.bashrc ~/.bashrc.old
fi
dotfile checkout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment