page info

Setting Up a New Mac

This is sort of in the spirit of Mark Pilgrim's old "setting up windows to work" post. I've used it to assist on 4 new mac setups at this point. This list starts from when I am presented with a clean OSX Desktop.

To set up spaces, open mission control and + more spaces.


Install via instructions on You'll want to set up passwordless sudo:

sudo visudo
... (change %admin line to:)
%admin          ALL = (ALL) NOPASSWD:ALL

Set up proper bash:

brew install bash bash-completion@2
# enable better bash as a login shell
echo /usr/local/bin/bash |sudo tee -a /etc/shells
# enable new shell for current user
chsh -s /usr/local/bin/bash $USER

Dev tools:

brew install git python3 python@2 openssh macvim the_platinum_searcher 
brew install jid jq gimme gnu-which gnu-tar gnu-sed ctags colordiff grep htop
brew install lz4 xz unzip snappy
brew install graphviz ghostscript
brew install awscli terminal-notifier mercurial bzr

Load all my configs:

git clone
alias cm="~/dotfiles/bin/cm"
export CM_CONFIG_PATH="$HOME/dotfiles/home"
cm pull



Automator can be used to make new services, which can then be attached to keybinds in the keyboard preferences. This is generally how to make global keyboard shortcuts, although application shortcuts can still override them sometimes.

New Terminal Window - quick action

A quick action that opens a new iterm2 window anywhere. A single 'run applescript' pane:

on run {input, parameters}
    tell application "iTerm"
        create window with default profile
    end tell
    return input
end run


This script uses another script I wrote, quickup, to automatically upload captured images to my server. The script is cross-platform including copying the URL into the clipboard and showing a terminal notification. Requires setting up configuration and installation of terminal-notifier in OSX.

exit 0