Permalink
Browse files

Prepare for Sublime Text Package Control.

  • Loading branch information...
1 parent 34cbd08 commit 37f020f63f86e9ef567fd0f894e7591047768ae3 @jprichardson committed Nov 19, 2012
View
@@ -1,13 +1,29 @@
Sublime Text Editor 2 - JavaScript Snippets
===========================================
-JavaScript snippets for your Sublime Text 2 Fu.
+JavaScript / JS snippets for your Sublime Text 2 Fu.
Install
-------
-Currently install only works on OS X. But you can manually copy the snippets to the proper location on any platform.
+### Sublime Text 2 - Package Control
+
+Install via package control: http://wbond.net/sublime_packages/community
+
+### Mac OS X
+
+ git clone git://github.com/jprichardson/sublime-js-snippets.git ~/Library/Application Support/Sublime Text 2/Packages/JavaScript
+
+
+### Linux
+
+ git clone git://github.com/jprichardson/sublime-js-snippets.git ~/.config/sublime-text-2/Packages/JavaScript
+
+
+### Windows
+
+ git clone git://github.com/jprichardson/sublime-js-snippets.git %userprofile%\AppData\Roaming\Sublime Text 2\Packages\JavaScript
File renamed without changes.
File renamed without changes.
View
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-if [ "$(uname)" = "Darwin" ]
-then
- loc="/Users/$(whoami)/Library/Application Support/Sublime Text 2/Packages/JavaScript"
- cp -r snippets/* "$loc/."
- echo "Installed to: $loc"
-elif [ "$(uname)" = "Linux" ]
-then
- echo "Doesn't support install on Linux yet."
-fi

0 comments on commit 37f020f

Please sign in to comment.