Ideas and snippets taken from many dotfiles examples, including: https://github.com/mathiasbynens/dotfiles https://github.com/ptb/mac-setup/blob/develop/mac-setup.command