$ ./dot
Usage:
./dot [--dotfiles] [--sublime] [--mackup] [--hosts] [--homebrew-bash] [--php]
Options:
-d | --dotfiles Symlink dotfiles in home/ directory
-h | --hosts Create local hosts files and symlink it
--php Setup php prepended file
--sublime Symlink Sublime Text preferences
--homebrew-bash Add bash from homebrew to shell login and switch to it
- Install 1password
- Connect Apple iCloud account
- Create SSH key, add it to github
- Clone this repo
- Follow the steps below
Use bash, not the default zsh.
exec bash
./macos/00-brew.sh
./macos/01-basic.sh
./macos/02-apps.sh
./macos/03-lang.sh
./dot --dotfiles
./dot --homebrew-bash
./dot --sublime
./dot --php
./dot --dotfiles
can be executed anytime.
Configure iTerm to use misc/terminal
.
...
Use TouchID to sudo instead of password.
# sudo: auth account password session
+ auth sufficient pam_tid.so
auth sufficient pam_smartcard.so
auth required pam_opendirectory.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so
Source: https://davidwalsh.name/touch-sudo
- @mathiasbynens (compare)
- @paulmillr (for vim config NEEDS UPDATE)
- @statico