dotfiles/setup/stuff.sh
Jacob Kiers b20e7d9912 Changed Mac setup to suit my preferences.
Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2014-01-10 11:25:25 +01:00

43 lines
1.1 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# Installs Homebrew, Git, git-extras, git-friendly, hub, Node.js, configures Apache, PHP, MySQL, etc.
# Ask for the administrator password upfront
sudo -v
# Install Homebrew
command -v brew >/dev/null 2>&1 || ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
# GNU core utilities (those that come with OS X are outdated)
brew install coreutils
# GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
brew install tree
# More recent versions of some OS X tools
brew tap homebrew/dupes
brew install homebrew/dupes/grep
# Git
brew install git
brew install git-extras
brew install hub
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh ~/Documents/src/bin)
# Ag, the better ack, which is the better grep
brew install the_silver_searcher
brew install https://raw.github.com/nybblr/homebrew-dev/master/sack.rb
# Python
brew install python
sudo pip install fabric
# Remove outdated versions from the cellar
brew cleanup