Skip to content

Instantly share code, notes, and snippets.



Created May 8, 2012
What would you like to do?
initial osx setup
# Pre-requisites : install XCode & Command-line tools
# Homebrew setup from:
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL"
# Check installation
brew doctor
# Do what the doctor says
sudo chown -R drew:wheel /usr/local/include /usr/local/lib
# Choose Xcode over Command-line tools
sudo xcode-select -switch /Applications/
brew install git
brew install htop-osx
sudo chown root:wheel /usr/local/Cellar/htop-osx/0.8.2/bin/htop
sudo chmod u+s /usr/local/Cellar/htop-osx/0.8.2/bin/htop
brew install tmux
brew install wemux # for easy pairing
brew install reattach-to-user-namespace # to fix OSX clipboard
brew install mutt
brew install irssi
# Careful it disables dtrace by default, which may later complicate getting jabber & irssi to work together
# weechat ?
brew install zsh
# homebrew zsh caveat (to run path_helper)
sudo mv /etc/zshenv /etc/zprofile
sudo sh -c 'echo "/usr/local/bin/zsh" >> /etc/shells'
chsh -s /usr/local/bin/zsh
git clone git:// ~/.oh-my-zsh
brew install macvim --override-system-vim
# we probably want to edit /etc/paths to put /usr/local/bin before /bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment