Created
June 23, 2010 15:54
-
-
Save nakajima/450115 to your computer and use it in GitHub Desktop.
Get a project going, nakajima-style
This file contains hidden or 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
| #!/usr/bin/env bash | |
| echo "Installing key bindings" | |
| mkdir -p "$HOME/Library/KeyBindings" | |
| curl --silent "http://github.com/nakajima/dot-rot/raw/master/nakajima/DefaultKeyBinding.dict" > "$HOME/Library/KeyBindings/DefaultKeyBinding.dict" | |
| echo "Installing TextMate bundles" | |
| mkdir -p "$HOME/Library/Application Support/TextMate/Bundles" | |
| function get_bundle() { | |
| test -e "$HOME/Library/Application Support/TextMate/Bundles/$1.tmbundle" || git clone $2 "$HOME/Library/Application Support/TextMate/Bundles/$1.tmbundle" | |
| } | |
| get_bundle 'Ack in Project' 'git://github.com/protocool/ack-tmbundle.git' | |
| get_bundle 'Nakajima' 'git://github.com/nakajima/nakajima-tmbundle.git' | |
| get_bundle 'RSpec' 'git://github.com/nakajima/rspec-tmbundle.git' | |
| get_bundle 'Cucumber' 'git://github.com/bmabey/cucumber-tmbundle.git' | |
| get_bundle 'HAML' 'git://github.com/textmate/ruby-haml.tmbundle.git' | |
| get_bundle 'Sass' 'git://github.com/seaofclouds/sass-textmate-bundle.git' | |
| echo "Install whitespace script (make sure $HOME/bin is in your PATH)" | |
| mkdir -p "$HOME/bin" | |
| curl --silent "http://github.com/nakajima/dot-rot/raw/master/bin/whitespace" > "$HOME/bin/whitespace" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment