Created
November 16, 2011 11:59
-
-
Save dmnkhhn/1369922 to your computer and use it in GitHub Desktop.
Update Textmate bundles
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/sh | |
# | |
# Update Textmate bundles | |
# Standard OS X Textmate bundle Verzeichnis | |
TEXTMATE_BUNDLES="$HOME/Library/Application Support/Textmate/Bundles" | |
# … ins Verzeichnis wechseln | |
echo "\n*** Wechsle ins Textmate bundle Verzeichnis..." | |
cd "$TEXTMATE_BUNDLES" | |
# | |
echo "\n*** Installiere Textmate bundles..." | |
# Cleanup Bundles | |
echo "\n*** Räume auf.." | |
rm -rf *.tmbundle | |
# Update bundles from Github | |
echo "\n*** Alle Textmate bundles von Github holen..." | |
# HTML | |
echo "\n*** Lade HTML Textmate bundles..." | |
git clone git://github.com/textmate/html.tmbundle.git "HTML.tmbundle" | |
git clone git://github.com/johnmuhl/html5.tmbundle.git "HTML5.tmbundle" | |
git clone git://github.com/phuibonhoa/handcrafted-haml-textmate-bundle.git "HAML.tmbundle" | |
# CSS | |
echo "\n*** Lade CSS Textmate bundles..." | |
git clone git://github.com/textmate/css.tmbundle.git "CSS.tmbundle" | |
git clone git://github.com/desandro/CSS3.tmbundle.git "CSS3.tmbundle" | |
git clone git://github.com/seaofclouds/sass-textmate-bundle.git "SASS.tmbundle" | |
# Testing | |
echo "\n*** Lade testing Textmate bundles..." | |
git clone git://github.com/UnderpantsGnome/cucumber-tmbundle.git "Cucumber.tmbundle" | |
git clone git://github.com/rspec/rspec-tmbundle.git "RSpec.tmbundle" | |
git clone git://github.com/lucasefe/capybara-tmbundle.git "Capybara.tmbundle" | |
# Ruby and Rails | |
echo "\n*** Lade Ruby and Rails Textmate bundles..." | |
git clone git://github.com/drnic/ruby-on-rails-tmbundle.git "Ruby on Rails.tmbundle" | |
git clone git://github.com/textmate/ruby.tmbundle.git "Ruby.tmbundle" | |
# Javascript | |
echo "\n*** Lade Javascript Textmate bundles..." | |
git clone git://github.com/subtleGradient/javascript-tools.tmbundle.git "Javascript tools.tmbundle" | |
git clone git://github.com/kswedberg/jquery-tmbundle.git "JavaScript jQuery.tmbundle" | |
git clone git://github.com/jashkenas/coffee-script-tmbundle.git "Coffeescript.tmbundle" | |
git clone git://github.com/drnic/javascript-node.tmbundle.git "JavaScript Node.tmbundle" | |
git clone git://github.com/fgnass/jshint.tmbundle.git "JSHint.tmbundle" | |
git clone git://github.com/kswedberg/jquery-tmbundle.git "jQuery.tmbundle" | |
# Python | |
echo "\n*** Lade Python Textmate bundles..." | |
git clone git://github.com/textmate/python.tmbundle.git "Python.tmbundle" | |
# PHP | |
echo "\n*** Lade PHP Textmate bundles..." | |
git clone git://github.com/textmate/php.tmbundle.git "PHP.tmbundle" | |
# Miscellaneous | |
echo "\n*** Lade miscellaneous Textmate bundles..." | |
git clone git://github.com/textmate/todo.tmbundle.git "Todo.tmbundle" | |
git clone git://github.com/textmate/textmate.tmbundle.git "TextMate.tmbundle" | |
git clone git://github.com/textmate/markdown.tmbundle.git "Markdown.tmbundle" | |
git clone git://github.com/textmate/textile.tmbundle.git "Textile.tmbundle" | |
git clone git://github.com/jcf/git-tmbundle.git "Git.tmbundle" | |
git clone git://github.com/textmate/json.tmbundle.git "JSON.tmbundle" | |
git clone git://github.com/textmate/shellscript.tmbundle.git | |
# Let Textmate reload the bundles | |
echo "\n*** Lade Textmate bundles neu..." | |
echo "*** Fertig!" | |
osascript -e 'tell app "TextMate" to reload bundles' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment