Clone the repository in ~/.dotfiles
. Launch the bootstrapper script copy the files to your home folder.
git clone https://github.com/teopost/dotfiles.git .dotfiles && cd .dotfiles
To copy dotfiles from repository to home directory, cd
into your local .dotfiles
repository and then:
(The swich -f force overwrite dotfiles)
./bootstrap.sh -f
Alternatively, to update while avoiding the confirmation prompt:
./bootstrap.sh
When setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course): This file can also generated from genBrewfile.sh
brew bundle ~/.dotfiles/Brewfile
You could also install native apps with brew cask
:
brew bundle ~/.dotfiles/Caskfile
Suggestions/improvements welcome!