Sublime Text2插件安装(linux)

前端之家收集整理的这篇文章主要介绍了Sublime Text2插件安装(linux)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

下面是编程之家 jb51.cc 通过网络收集整理的代码片段。

编程之家小编现在分享给大家,也给大家做个参考。

#!/bin/sh

cd ~/.config/sublime-text-2/Packages

echo Install...
echo ==================================================

# Install Package Control
# import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation'

echo === Theme - Soda ===
rm -rf "Theme - Soda"
git clone https://github.com/buymeasoda/soda-theme.git "Theme - Soda"

echo === RailsCasts Colour Scheme ===
rm -rf "RailsCasts Colour Scheme"
git clone https://github.com/talltroym/sublime-theme-railscasts.git "RailsCasts Colour Scheme"

echo === GBK Encoding Support ===
rm -rf "GBK Encoding Support"
git clone https://github.com/akira-cn/sublime-gbk.git "GBK Encoding Support"

echo === SideBarEnhancements ===
rm -rf "SideBarEnhancements"
git clone https://github.com/titoBouzout/SideBarEnhancements.git "SideBarEnhancements"

echo === Gist ===
rm -rf "Gist"
git clone https://github.com/condemil/Gist.git "Gist"

echo === SublimeAStyleFormatter ===
rm -rf "SublimeAStyleFormatter"
git clone https://github.com/timonwong/SublimeAStyleFormatter.git "SublimeAStyleFormatter"

echo === MarkdownBuild/SublimeBullet ===
rm -rf "MarkdownBuild"
git clone https://github.com/erinata/SublimeBullet.git "MarkdownBuild"

echo === Markdown Preview ===
rm -rf "Markdown Preview"
git clone https://github.com/revolunet/sublimetext-markdown-preview "Markdown Preview"

echo === Git ===
rm -rf "Git"
git clone https://github.com/kemayo/sublime-text-2-git.git "Git"

echo === SideBarGit ===
rm -rf "SideBarGit"
git clone https://github.com/SublimeText/SideBarGit.git "SideBarGit"

echo === Maven ===
rm -rf "Maven"
git clone https://github.com/nlloyd/SublimeMaven.git "Maven"

echo === Live Reload ===
rm -rf "Live Reload"
git clone https://github.com/dz0ny/LiveReload-sublimetext2.git "Live Reload"

echo ==================================================
echo Done!

以上是编程之家(jb51.cc)为你收集整理的全部代码内容,希望文章能够帮你解决所遇到的程序开发问题。

如果觉得编程之家网站内容还不错,欢迎将编程之家网站推荐给程序员好友。

猜你在找的Shell相关文章