My dotfiles repo
- Update macOS to the latest version through the App Store
- Install the full version of Xcode from the App Store
- Run
xcode-select --install - Migrate needed ssh-keys into
~/.ssh - Clone repo into
~/.dotfiles - Run the installer script
./install.sh - Restart macOS
All formulae and casks are declared in the Brewfile. The installer runs brew bundle for you, but you can re-sync at any time to install anything that's missing:
brew bundle --file=~/.dotfiles/BrewfileAfter adding or removing entries in the Brewfile, run the command above again. To see what's installed but not in the Brewfile:
brew bundle cleanup --file=~/.dotfiles/Brewfile # add --force to actually uninstall- Keep Maven credentials in
~/.gradle/gradle.properties
mavenUser=XXX
mavenPassword=XXX
usePoetry=true- Keep AWS credentials
~/.aws/credentials
[default]
aws_access_key_id=XXX
aws_secret_access_key=XXX
- Git hoooks
I use a global git hooks to prepend ticket name in the commits, based on the branch name. So if a branch is called feat/dev/ABC-1234 the commit will be: ABC-1234: My commit message
Turn on
git config --global core.hooksPath /Users/urbansanden/.dotfiles/githooksTurn off
git config --global --unset core.hooksPathVerify if on or off
git config --global core.hooksPath