Accept license:
sudo xcodebuild -license
- Create the
~/code/personal
folder - Create the
~/code/<company>
folder - Update
git/gitconfig_work.symlink
with the work email - Update
git/gitconfig.symlink
accordingly
- Enable rectangle and grant auth
- Re-run the script to set shortcuts
Remap Caps Lock
to Ctrl
.
Enable the darkmode in the general settings.
Enable Night Shift (either by localtion or custom schedule) to shift the colors of the display to warmer tone.
- Add Downloads folder to the dock
- Add user folder to the favourite in Finder
Enable notifications for Slack, Zoom, etc.
Replace Siri with a more useful item: go to the keyboard setting and search for the "Customize Control Strip" button.
Turn on FileVault:
fdesetup status
If it is not turned on, enable:
sudo fdesetup enable
If not prompted when using git
for the first time, manually install the XCode Command Line Tools:
xcode-select --install
If the preferences aren't picked up automatically: point Load preferences from custom folder or URL
to ~/dotfiles/iterm2
If the settings are not applied, run:
defaults read com.googlecode.iterm2
To manually add keys to the macOS ssh-agent:
ssh-add -K ~/.ssh/id_ed25519
The ssh-agent can then automatically load the key from the macOS keychain every time it needs it.
Update all submodules to the latest tips of their remote branches:
git submodule update --recursive --remote
If you receive a warning message by ZSH's completion system compinit
when starting a new session, like:
zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]?
You can list the insecure directories with this command:
compaudit
There are insecure directories:
/usr/local/share/zsh/site-functions
/usr/local/share/zsh
You can change the owner and group of these directories by running these 2 commands:
compaudit | xargs chown -R "$(whoami)"
compaudit | xargs chmod go-w
More info at https://stackoverflow.com/a/43544733