Skip to content

Latest commit

 

History

History
109 lines (78 loc) · 3.5 KB

README.md

File metadata and controls

109 lines (78 loc) · 3.5 KB

macOS/OS X

User data on encrypted volumes other than the boot volume will not mount until login. To remedy this, see Unlock (forked to my GitHub for archival).

Disable some keyboard shortcuts

Remove these using System Preferences:

  • Mission Control owns and
  • Spotlight owns space

Reduce desktop icon size

Click desktop to focus Finder, j use smallest sizes for everything.

App store

  1. iCloud sign in

  2. Install App store apps

    • Display Menu or EasyRes: Set higher/native resolutions
    • Xcode: select CLI tools in prefs
      • This is required to build some apps like neovim@HEAD

Setup ssh keys

  1. sshkeygen (alias to generate new ed25519 keys)
  2. Add the public key to GitHub, GitLab, Bitbucket, etc.
  3. ssh-add -K ~/.ssh/privatekeyfile to store the key in Keychain.

Install dotfiles

git clone https://github.com/davidosomething/dotfiles.git ~/.dotfiles/

Install homebrew and bootstrap

Install homebrew according to https://brew.sh/.

Mojave no longer installs SDK headers for building certain things. It comes with mac OS but requires manual execution. Use bootstrap/mac to install it:

~/.dotfiles/bootstrap/mac

The script will also:

  • brew bundle some default packages
  • Run the fzf installer
  • Change the user's default shell to the brewed zsh

Bundle dumps for specific systems are in my ~/.secret (not public).

Cask notes

  • dropbox
    • Has app settings sync so wait for it to finish syncing.
    • If the shared directory is on an external volume, disable autostart and add LoginItems/DelayedDropbox.app to your login items instead. It is a generic app made using Script Editor.
  • bettertouchtool
    • License in gmail
    • Provides better trackpad swipe configs, drag window snapping, modifier-hold window resizing
    • Synced to Dropbox
  • hammerspoon
    • App launcher (space) to replace spotlight (disable spotlight shortcut first)
    • Audio output device switch in menubar, relies on switchaudio-osx which is in homebrew
    • Auto-type from clipboard (v) for paste blockers
    • Caffeinate in menubar
    • Window management keys to use sections of a monitor (try hitting the key multiple times) and to throw apps to the next monitor (f/h/l/z/[/])

mackup

mackup backs up application settings. It will be installed if using this repo's Brewfile.

dot.mackup.cfg defines some app settings (such as the itsycal plist). It is symlinked to ~/.mackup.cfg by bootstrap/symlink.

Mackup is configured to use ~/.local/Mackup as the storage location. On my system this is a symlink to a private settings repository.

Run mackup restore to restore settings from that repository.

Install development tools

Installed packages before development tools.
Use the bi alias for a clean room install.