This repository is a collection of config files and install scripts I use to setup my Mac.
WARNING: If you wish to use these dotfiles, you should review the code and remove things you don't want or need.
At least the following changes should be made:
- Change Oh My Zsh installation path in config/zsh/.zshrc to your own value.
- Change Git username and email address in git.sh to your own values.
NOTE: Visual Studio Code currently has a bug that requires security permissions before it can be opened. Installer loops opening VS Code as long as the permissions are missing. Security & Privacy settings are opened automatically where permissions can be given. Read more: microsoft/vscode#74782
Clone the repository:
git clone https://github.com/adbario/dotfiles.git
cd dotfiles
Configure Mac OS X:
bash macos.sh
Install and configure applications:
bash install.sh
Install and configure Vagrant:
bash vagrant.sh
Install color profiles and PDF export settings:
bash adobe.sh
Configure git:
bash git.sh
Install Xcode from App Store. To install Network Link Conditioner, download Additional Tools for Xcode (requires login).
Copy iTerm2 preferencies:
- Open iTerm2
- Open preferencies:
CMD + ,
- Select
Preferencies
tab and selectLoad preferencies from a custom folder or URL
- Select folder
config/iterm2
and restart iTerm2
Make iTerm2 default terminal application:
- Select
iTerm2
from menu bar - Select
Make iTerm2 Default Term
If you wish to install VirtualBox, it needs to be done manually as VirtualBox kernel extension requires extra permissions.
- Pocket: install from App Store https://apps.apple.com/us/app/pocket/id568494494?mt=12
- The Unarchiver: install from App Store https://apps.apple.com/us/app/the-unarchiver/id425424353?mt=12
Copy existing SSH keys to ~/.ssh/
folder or generate a new one:
ssh-keygen -t ed25519 -C "your_email@example.com"
Use Cloudflare 1.1.1.1 as DNS resolver. Set the following addresses as DNS servers:
1.1.1.1
1.0.0.1
2606:4700:4700::1111
2606:4700:4700::1001
Read more: https://1.1.1.1/dns/
Useful workflows for Alfred: