Skip to content

Instantly share code, notes, and snippets.

@xer0x
Created May 8, 2012 05:39
Show Gist options
  • Save xer0x/2632842 to your computer and use it in GitHub Desktop.
Save xer0x/2632842 to your computer and use it in GitHub Desktop.
initial osx setup
# Pre-requisites : install XCode & Command-line tools
# Homebrew setup from: https://github.com/mxcl/homebrew/wiki/installation
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
# 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/Xcode.app/Contents/Developer
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://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
brew install macvim --override-system-vim
# TODO
# 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