Skip to content

urre/dotfiles

Repository files navigation

Dotfiles

My dotfiles repo

Fresh macOS setup

  1. Update macOS to the latest version through the App Store
  2. Install the full version of Xcode from the App Store
  3. Run xcode-select --install
  4. Migrate needed ssh-keys into ~/.ssh
  5. Clone repo into ~/.dotfiles
  6. Run the installer script ./install.sh
  7. Restart macOS

Homebrew packages

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/Brewfile

After 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

Work stuff

  1. Keep Maven credentials in ~/.gradle/gradle.properties
mavenUser=XXX
mavenPassword=XXX
usePoetry=true
  1. Keep AWS credentials ~/.aws/credentials
[default]
aws_access_key_id=XXX
aws_secret_access_key=XXX
  1. 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/githooks

Turn off

git config --global --unset core.hooksPath

Verify if on or off

git config --global core.hooksPath

About

Dotfiles by Urban Sanden

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors