Created
July 31, 2011 03:16
-
-
Save andrewwatts/1116339 to your computer and use it in GitHub Desktop.
Mac OS X Lion Installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
# disable dashboard | |
defaults write com.apple.dashboard mcx-disabled -boolean YES | |
# disable Lion window animations | |
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO | |
# disable Lion key repeat behavior | |
defaults write -g ApplePressAndHoldEnabled -bool false | |
# disable spotlight and remove from menu | |
sudo mdutil -a -i off | |
sudo mv /System/Library/CoreServices/Search.bundle/ /System/Library/CoreServices/SearchOff.bundle/ | |
# restart modified services, restart also works | |
killall Dock | |
killall Finder | |
# remove spotlight from menu | |
kill -HUP `ps aux | grep SystemUIServer.ap[p] | awk '{print $2}'` | |
# grab safari omnibar | |
# https://github.com/downloads/rs/SafariOmnibar/Safari%20Omnibar-1.2.pkg | |
# uninstall `/Library/Application\ Support/SIMBL/Plugins/SafariOmnibar.bundle` | |
# install alfred http://www.alfredapp.com/ | |
# http://itunes.apple.com/us/app/alfred/id405843582?mt=12 | |
# install twitter | |
# http://itunes.apple.com/us/app/twitter/id409789998?mt=12 | |
# install XCode | |
# http://itunes.apple.com/us/app/xcode/id448457090?mt=12 | |
# install PinPoint http://www.lagentesoft.com/Lagente_Software/PinPoint.html | |
# http://itunes.apple.com/us/app/pinpoint/id408265505?mt=12 | |
# install Caffeine http://lightheadsw.com/caffeine/ | |
# http://itunes.apple.com/us/app/caffeine/id411246225?mt=12 | |
# install Textual http://www.codeux.com/textual/ | |
# http://itunes.apple.com/us/app/textual-irc-client/id403012667?mt=12 | |
## | |
# Development Environment | |
## | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" | |
brew install git | |
brew install ack | |
brew install coreutils --default-names | |
brew install macvim | |
ln -s /usr/local/Cellar/macvim/7.3-61/MacVim.app /Applications | |
cd ~ && mkdir -p bin dat src var/log etc # TODO: move to bashrc | |
## | |
# Python Environment | |
## | |
sudo easy_install pip | |
sudo pip install pep8 | |
sudo pip install virtualenv | |
sudo pip install virtualenvwrapper | |
## | |
# git some things | |
## | |
mkdir src && cd src && git clone https://github.com/andrewwatts/dotfiles.git | |
cd ~ | |
ln -s ~/src/dotfiles/.bashrc . | |
ln -s ~/src/dotfiles/.bash_profile . | |
ln -s ~/src/dotfiles/.aliases . | |
ln -s ~/src/dotfiles/.dircolors . | |
ln -s ~/src/dotfiles/.gitconfig . | |
ln -s ~/src/dotfiles/.hgrc . | |
ln -s ~/src/dotfiles/.gitconfig . | |
ln -s src/dotfiles/bin . | |
ln -s src/dotfiles/dat . | |
ln -s src/dotfiles/etc . | |
cd src && git clone https://github.com/andrewwatts/dotfiles-vim.git | |
cd ~ | |
ln -s ~/src/dotfiles-vim .vim | |
ln -s ~/src/dotfiles-vim/vimrc .vimrc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment