Skip to content

Latest commit

 

History

History
111 lines (83 loc) · 2.41 KB

README.md

File metadata and controls

111 lines (83 loc) · 2.41 KB

Dotfiles

Setup

Note: for personal use. Don't blame me if this screws up your settings.

git clone https://github.com/timhwang21/dotfiles.git
cd dotfiles
# Initial setup: install from brew, git, etc.
bin/bootstrap-download
# Install from local files
bin/bootstrap

MacOS Applications

Essentials

Personal

Work

Other manual steps

SSH key

# Personal -- swap with work email when needed
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519

# Follow per-site instructions below
touch ~/.ssh/config
open ~/.ssh/config

# Add to each site's config
# https://github.com/settings/ssh/new
# https://bitbucket.org/account/settings/ssh-keys/
pbcopy < ~/.ssh/id_ed25519.pub

# Test
ssh -T [email protected]
ssh -T [email protected]

.ssh/config contents:

Host github.com
  AddKeysToAgent yes
  UseKeychain yes
  IdentityFile ~/.ssh/id_ed25519

Host bitbucket.org
  AddKeysToAgent yes
  IdentityFile ~/.ssh/{ssh-key-name}

Settings

defaults write -g InitialKeyRepeat -int 10 # normal minimum is 15
defaults write -g KeyRepeat -int 1 # normal minimum is 2
  • Displays > Medium
  • Trackpad > Secondary click > Click in Bottom Right Corner
  • Trackpad > Natural scrolling off

TODO

LaTeX

Needed for Pandoc PDF export.

# first install BasicTeX - http://www.tug.org/mactex/morepackages.html
sudo tlmgr update --self
sudo tlmgr install collection-fontsrecommended