没技术含量,纯苦力活!
#!/bin/sh
cd ~/.config/sublime-text-2/Packages
echo Install...
echo ==================================================
echo === Package Control ===
rm -rf "Package Control"
git clone https://github.com/JustQyx/Sublime-Text-Package-Control.git "Package Control"
echo === Block Cursor Everwhere ===
rm -rf "Block Cursor Everwhere"
git clone https://github.com/ingshtrom/BlockCursorEverywhere.git "Block Cursor Everwhere"
echo === CoffeeScript ===
rm -rf "CoffeeScript"
git clone https://github.com/Xavura/CoffeeScript-Sublime-Plugin.git "CoffeeScript"
echo === Compass ===
rm -rf "Compass"
git clone https://github.com/WhatWeDo/Sublime-Text-2-Compass-Build-System.git "Compass"
echo === Ctags ===
rm -rf "Ctags"
git clone https://github.com/SublimeText/CTags.git "Ctags"
echo === DictionaryAutoComplete ===
rm -rf "DictionaryAutoComplete"
git clone https://github.com/Zinggi/DictionaryAutoComplete.git "DictionaryAutoComplete"
echo === GBK Encoding Support ===
rm -rf "GBK Encoding Support"
git clone https://github.com/akira-cn/sublime-gbk.git "GBK Encoding Support"
echo === Git ===
rm -rf "Git"
git clone https://github.com/JustQyx/SublimePluginGit.git "Git"
echo === Git Status Files ===
rm -rf "Git Status Files"
git clone https://github.com/mkraft/git-status-files.git "Git Status Files"
echo === LESS ===
rm -rf "LESS"
git clone https://github.com/danro/LESS-sublime.git "LESS"
echo === PlaceHolders ===
rm -rf "PlaceHolders"
git clone https://github.com/mrmartineau/Placeholders.git "PlaceHolders"
echo === SCSS ===
rm -rf "SCSS Snippets"
git clone https://github.com/npostulart/SCSS-Snippets.git "SCSS Snippets"
rm -rf "SCSS Tm Bundle"
git clone https://github.com/kuroir/SCSS.tmbundle.git "SCSS Tm Bundle"
echo === ZenCoding ===
rm -rf "ZenCoding"
git clone https://github.com/sublimator/ZenCoding.git "ZenCoding"
echo === Rails File Switcher ===
rm -rf "Rails File Switcher"
git clone https://github.com/AlexanderZaytsev/SublimeText2RailsFileSwitcher.git "Rails File Switcher"
echo === Ruby On Rails snippets ===
rm -rf "Ruby On Rails snippets"
git clone https://github.com/tadast/sublime-rails-snippets.git "Ruby On Rails snippets"
echo === Rake ===
rm -rf "Rake"
git clone https://github.com/SublimeText/Rake.git "Rake"
echo === Rails Related Files ===
rm -rf "Rails Related Files"
git clone https://github.com/luqman/SublimeText2RailsRelatedFiles.git "Rails Related Files"
echo === Rails Migrations List ===
rm -rf "Rails Migrations List"
git clone https://github.com/KELiON/RailsMigrationsList.git "Rails Migrations List"
echo === Ruby 1.9 Hash Converter ===
rm -rf "Ruby 1.9 Hash Converter"
git clone https://github.com/iltempo/sublime-text-2-hash-syntax.git "Ruby 1.9 Hash Converter"
echo === Markdown Preview ===
rm -rf "Markdown Preview"
git clone https://github.com/revolunet/sublimetext-markdown-preview.git "Markdown Preview"
echo === Markdown Slideshow ===
rm -rf "Markdown Slideshow"
git clone https://github.com/ogom/sublimetext-markdown-slideshow.git "Markdown Slideshow"
echo === SublimErl ===
rm -rf "SublimErl"
git clone https://github.com/ostinelli/SublimErl.git "SublimErl"
echo === Prefixr ===
rm -rf "Prefixr"
git clone https://github.com/JustQyx/Sublime-Text-Prefixr.git "Prefixr"
echo ==================================================
echo Done!