/osx

Customization of OS X and installation of most of my work (and other) stuff

Primary LanguageShell

Setting up new laptop

  1. Install XCode command line tools (https://developer.apple.com/downloads/, "Sign In" required)
  2. Run sudo chown -R $USER /usr/local
  3. Run install.sh (see below)
  4. Run installers that need to be finished separately (uTorrent, Hearthstone, etc.)
  5. Run OS X customization file (aka Mathias .osx, see below)
  6. Update OS X and apps (through App Store)
  7. Map Caps to Ctrl in keyboard settings (since this is apparently quite difficult to do programmatically http://apple.stackexchange.com/questions/13598/updating-modifier-key-mappings-through-defaults-command-tool)
  8. Add translit as an input source in System Prefs (+ map it to Alt+Cmd+Space)
  9. Set Quicksilver triggers
  10. Customize iTerm settings ("quit when all windows are closed", "preserve window positions", etc.; should this be automated?)
  11. Install Fleep through App Store (since there's no casks for them... yet)
  12. Install messenger from https://fbmacmessenger.rsms.me/

install.sh

This is the main script that installs 90%+ of things required to get a "working" OS X. It's meant to be run as part of a fresh install on a new laptop.

In a nutshell, it does this:

  • Installs all the brews that I use (git, zsh, cairo, node, postgresql, etc.)
  • Installs all the applications that I use, via cask (chrome, quicksilver, imageoptim, virtualbox, etc.)
  • Installs oh-my-zsh and sets it up
  • Generates SSH keys (and opens github settings page for convenience)
  • Installs global node packages that I use often (bower, jshint, jscs, etc.)
  • Customizes Sublime using other files from this repo
  • Installs translit keyboard

defaults.sh

Sets up sensible OS X defaults and other useful tweaks. Based on Mathias' excellent .osx

Package Control.sublime-settings

Specifies which Sublime packages to install

Preferences.sublime-settings

Specifies main Sublime settings

.oh-my-zsh-custom

Defines custom functions and alises for oh-my-zsh

Inspired by / shamelessly stolen from these fine folks

Something similar (found later)