- Install Homebrew
$ xcode-select --install $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install git
$ brew install git
- Clone repository
$ git clone --bare git@github.com:tomekw/dontfiles.git ~/dontfiles
- Pull all changes
$ git --work-tree=$HOME/ --git-dir=$HOME/dontfiles checkout -f master
- Run the installation script
$ $HOME/bin/macos.sh $ $HOME/bin/debian.sh $ $HOME/bin/void.sh
- Add Buster repo to install Slack
deb http://deb.debian.org/debian/ buster main
- Add Docker repo
$ curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
deb https://download.docker.com/linux/debian buster stable
Use dfgit
as git
.
$ git init --bare ~/dontfiles
See: http://www.gmarik.info/blog/2010/tracking-dotfiles-with-git