Skip to content

Instantly share code, notes, and snippets.

@butaji
Forked from mads-hartmann/bundles.sh
Created April 24, 2011 19:41
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save butaji/939821 to your computer and use it in GitHub Desktop.
Save butaji/939821 to your computer and use it in GitHub Desktop.
This is how I manage my textmate bundles.
#
# This script will install the following Textmate bundles
#
# Languages
# - c https://github.com/textmate/c.tmbundle
# - coffeescript https://github.com/jashkenas/coffee-script-tmbundle
# - context free https://github.com/textmate/context-free.tmbundle
# - erlang https://github.com/textmate/erlang.tmbundle
# - haskell https://github.com/textmate/haskell.tmbundle.git
# - html https://github.com/textmate/html.tmbundle
# - java https://github.com/textmate/java.tmbundle
# - javascript https://github.com/subtleGradient/javascript.tmbundle
# - json https://github.com/textmate/json.tmbundle
# - latex https://github.com/textmate/latex.tmbundle
# - lisp https://github.com/textmate/lisp.tmbundle.git
# - markdown https://github.com/textmate/markdown.tmbundle
# - objective-c https://github.com/textmate/objective-c.tmbundle
# - python https://github.com/textmate/python.tmbundle
# - ruby https://github.com/textmate/ruby.tmbundle
# - scala https://github.com/mads379/scala.tmbundle
# - scss https://github.com/kuroir/SCSS.tmbundle
# - shell https://github.com/textmate/shellscript.tmbundle
# - standard-ml https://github.com/textmate/standard-ml.tmbundle
# - textile https://github.com/textmate/textile.tmbundle
# - xml https://github.com/textmate/xml.tmbundle
# - yaml https://github.com/textmate/yaml.tmbundle
#
# Utilities
# - navigation https://github.com/textmate/navigation.tmbundle
# - git https://github.com/jcf/git-tmbundle
# - tidy https://github.com/mads379/tidy.tmbundle
# - js-tools https://github.com/adamhope/js-tools.tmbundle
# - ensime https://github.com/mads379/ensime.tmbundle
# - diff https://github.com/textmate/diff.tmbundle
#
# Plugins I use but this script won't install
# - missing drawer https://github.com/jezdez/textmate-missingdrawer
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
echo "----------------------"
echo "Installing languages."
echo "----------------------"
rm -rf c.tmbundle
rm -rf coffe-script.tmbundle
rm -rf context-free.tmbundle
rm -rf erlang.tmbundle
rm -rf haskell.tmbundle
rm -rf html.tmbundle
rm -rf java.tmbundle
rm -rf javascript.tmbundle
rm -rf json.tmbundle
rm -rf latex.tmbundle
rm -rf lisp.tmbundle
rm -rf markdown.tmbundle
rm -rf objective-c.tmbundle
rm -rf python.tmbundle
rm -rf ruby.tmbundle
rm -rf scala.tmbundle
rm -rf scss.tmbundle
rm -rf shellscript.tmbundle
rm -rf standard-ml.tmbundle
rm -rf textile.tmbundle
rm -rf xml.tmbundle
rm -rf yaml.tmbundle
git clone https://github.com/textmate/erlang.tmbundle.git
git clone https://github.com/textmate/lisp.tmbundle.git
git clone https://github.com/textmate/haskell.tmbundle.git
git clone https://github.com/subtleGradient/javascript.tmbundle.git
git clone https://github.com/mads379/scala.tmbundle.git
git clone https://github.com/jashkenas/coffee-script-tmbundle.git coffe-script.tmbundle
git clone https://github.com/textmate/context-free.tmbundle.git
git clone https://github.com/kuroir/SCSS.tmbundle.git scss.tmbundle
git clone https://github.com/textmate/objective-c.tmbundle.git
git clone https://github.com/textmate/ruby.tmbundle.git
git clone https://github.com/textmate/java.tmbundle.git
git clone https://github.com/textmate/markdown.tmbundle.git
git clone https://github.com/textmate/python.tmbundle.git
git clone https://github.com/textmate/latex.tmbundle.git
git clone https://github.com/textmate/c.tmbundle.git
git clone https://github.com/textmate/xml.tmbundle.git
git clone https://github.com/textmate/json.tmbundle.git
git clone https://github.com/textmate/shellscript.tmbundle.git
git clone https://github.com/textmate/textile.tmbundle.git
git clone https://github.com/textmate/standard-ml.tmbundle.git
git clone https://github.com/textmate/yaml.tmbundle.git
git clone https://github.com/textmate/html.tmbundle.git
echo "----------------------"
echo "Installing utilities."
echo "----------------------"
rm -rf diff.tmbundle
rm -rf ensime.tmbundle
rm -rf git.tmbundle
rm -rf js-tools.tmbundle
rm -rf navigation.tmbundle
rm -rf tidy.tmbundle
git clone https://github.com/jcf/git-tmbundle.git git.tmbundle
git clone https://github.com/adamhope/js-tools.tmbundle.git
git clone https://github.com/mads379/ensime.tmbundle.git
git clone https://github.com/mads379/tidy.tmbundle.git
git clone https://github.com/textmate/navigation.tmbundle.git
git clone https://github.com/textmate/diff.tmbundle.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment