xcode-select --install
(required for Git and Homebrew)- Clone dotfiles repo. Use
https
and switch tossh
later
git clone --recurse-submodules --remote-submodules --jobs=8 https://github.com/simonward87/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
- Check Brewfile and audit software to be installed
./install
- Restart computer
- Login to Google Drive (and multi-factor authentication)
- Login to Mac App store so
brew mas
will work correctly - Generate ssh key, add to GitHub, and switch remotes.
# generate SSH key in default location (~/.ssh/config)
ssh-keygen -t ed25519 -C "39803787+simonward87@users.noreply.github.com"
# start the ssh-agent
eval "$(ssh-agent -s)"
# create config file with necessary settings
<< EOF > ~/.ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
EOF
# add private key to ssh-agent
ssh-add -K ~/.ssh/id_ed25519
# copy public key and add to github.com > Settings > SSH and GPG keys
pbcopy < ~/.ssh/id_ed25519.pub
# test SSH connection, then verify fingerprint and username
# https://help.github.com/en/github/authenticating-to-github/testing-your-ssh-connection
ssh -T git@github.com
# switch from HTTPS to SSH
git remote set-url origin git@github.com:simonward87/dotfiles.git
- Display resolution
- Dock preferences
- Remove recently used apps
- Turn off trash confirmation
- Mission Control preferences
- Don't rearrange spaces
- Finder preferences
- Show path bar
- Sidebar favourites
- Finder show path bar
- Trackpad settings
- Enable three-finger swipe between workspaces
- Changed default Shell to ZSH
I learned a ton about dotfiles, command line use, Homebrew, zsh, git, MacOS and more with the course Dotfiles from Start to Finish-ish by @EIEIOxyz. I wholeheartedly recommend the course, it is very informative. My study notes are included in this repository, for those interested in looking through them – you may find something helpful.