Based on Mathias’s dotfiles
Clone this repository wherever you want (e.g. ~/code/dotfiles) and run bootstrap.sh:
git clone https://github.com/ihough/dotfiles.git
cd dotfiles
source bootstrap.shTo update, cd to the dotfiles repository and re-run bootstrap.sh:
source bootstrap.shTo install without git:
cd
curl -#L https://github.com/ihough/dotfiles/tarball/main | tar -xzv --strip-components 1 --exclude={bootstrap.sh,LICENSE-MIT.txt,README.md}To update, just run that command again.
If ~/.extra exists, it will be sourced along with the other files. You can use this to add a few custom commands or to add commands you don't want to commit to a public repository.
If ~/.gitconfig.user exists, it will be included in .gitconfig. You can use this to set your git author name and email:
[user]
name = Your Name
email = [email protected]The macos.sh script sets defaults and configuration for macOS. Run it with:
./macos.shThe Brewfile defines packages and apps that can be installed with Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
reload
brew bundle --file BrewfileYou can update the Brewfile using:
brew bundle dump --describeTo copy changes from your local dotfiles (in $HOME) to this repository, run get-local-changes.sh:
source get-local-changes.shThen examine and commit the desired changes.