A few days weeks I got a MacBook Air as secondary machine. Since its SSD is smaller than my main Mac I couldn’t use Time Machine. It was definitely a good time to finally create my dotfiles repository. My repository is based in webpro/dotfiles (you may want to check it out his repo to understand this one if you feel lost).
- Make sure that you have an updated macOS and Command Line Tools for Xcode:
sudo softwareupdate -i -a && xcode-select --install
- Clone the repo in your home directory:
cd ~ & git clone email@example.com:leonardofaria/dotfiles.git ~/.dotfiles
Check the description of the less popular apps
- bats – Bash Automated Testing System
- dockutil – Command line tool for managing dock items
exa – A modern replacement for
- httpie – A Modern command line HTTP client
- neofetch – A command-line system information tool
- unar – A easy way for unarchiving files
Using brew cask to install Mac app definitely save you a couple hours of browsing
- Node 8 via
nvm, with a few global packages:
- Ruby 2.5.1 via
- Oh my zsh, with powerlevel9k theme and git, rails, ruby, npm and osx plugins
There are lots of customizable Mac settings. Check
macos/defaults.sh for all details.
You can update your dock running:
Note: this will remove all your current dock items.
Add your extra information environment variables in
Open Preferences and in General, check: “Load Preferences from a custom folder or URL”. Point the folder to
macos – There is a file there called
com.googlecode.iterm2.plist with all setup.