public

Update Textmate bundles

  • Download Gist
update_textmate_bundles.sh
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
#!/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'

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.