Skip to content

Latest commit

 

History

History
78 lines (55 loc) · 1.86 KB

README.md

File metadata and controls

78 lines (55 loc) · 1.86 KB

Julien’s dotfiles

$ ./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 new mac

  1. Install 1password
  2. Connect Apple iCloud account
  3. Create SSH key, add it to github
  4. Clone this repo
  5. Follow the steps below

Install all the things

Use bash, not the default zsh.

exec bash
./macos/00-brew.sh
./macos/01-basic.sh
./macos/02-apps.sh
./macos/03-lang.sh

Link configuration

./dot --dotfiles
./dot --homebrew-bash
./dot --sublime
./dot --php

./dot --dotfiles can be executed anytime.

Configure iTerm to use misc/terminal.

1password-cli (ssh-agent)

...

/etc/pam.d/sudo

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

Thanks to…