dotfiles/setup/stuff.sh

43 lines
1.1 KiB
Bash
Raw Normal View History

2012-10-12 14:53:55 +00:00
#!/bin/bash
2012-10-23 08:47:00 +00:00
2012-12-12 08:55:22 +00:00
# Installs Homebrew, Git, git-extras, git-friendly, hub, Node.js, configures Apache, PHP, MySQL, etc.
2012-10-23 08:47:00 +00:00
2012-11-09 08:33:54 +00:00
# Ask for the administrator password upfront
sudo -v
2012-10-12 14:53:55 +00:00
# Install Homebrew
2012-10-19 11:54:20 +00:00
command -v brew >/dev/null 2>&1 || ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
2012-10-12 14:53:55 +00:00
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
2012-10-25 14:31:00 +00:00
# GNU core utilities (those that come with OS X are outdated)
2012-10-12 14:53:55 +00:00
brew install coreutils
2012-10-25 14:31:00 +00:00
# GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
2012-10-12 14:53:55 +00:00
brew install findutils
2012-12-12 08:55:22 +00:00
brew install tree
2012-10-12 14:53:55 +00:00
2012-10-25 14:31:00 +00:00
# More recent versions of some OS X tools
2012-10-12 14:53:55 +00:00
brew tap homebrew/dupes
brew install homebrew/dupes/grep
2012-10-25 14:31:00 +00:00
# Git
2012-10-12 14:53:55 +00:00
brew install git
brew install git-extras
2012-12-12 08:55:22 +00:00
brew install hub
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh ~/Documents/src/bin)
2013-02-15 21:11:03 +00:00
2013-03-14 19:22:15 +00:00
# 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
2012-11-09 08:33:54 +00:00
# Python
2013-02-10 20:14:51 +00:00
brew install python
2012-11-28 07:13:30 +00:00
sudo pip install fabric
# Remove outdated versions from the cellar
brew cleanup