Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 31 lines (19 sloc) 0.992 kb
b6a344f David Malin init. it
authored
1 sb Utility
2 =======================
3 Just like text mates wonderful mate . command just type sb . and you'll get your sublime`in on.
4
5
6 ## Installation
44374d4 David Malin readme edits
authored
7 1. First make sure that the bash script, the file sb exactly references your name of your sublime text. What is meant
b6a344f David Malin init. it
authored
8 by this is that perhaps your sublimetext editor was named sublime-hasselhoff then accordingly you would need to edit
9 the bash script as such
10
44374d4 David Malin readme edits
authored
11 #!/bin/sh
12 open -a "sublime-hasselhoff" "$@"
b6a344f David Malin init. it
authored
13
44374d4 David Malin readme edits
authored
14 2. Place file in a folder that the path sees. To check what your path looks at just type the following.
b6a344f David Malin init. it
authored
15
44374d4 David Malin readme edits
authored
16 echo $PATH
b6a344f David Malin init. it
authored
17
66c664c David Malin readme edits
authored
18 Take the sb file and copy it to one of the folders list in the output of the command above. It has a colon
19 delimitted list of fodlers that the path looks for binaries in.
b6a344f David Malin init. it
authored
20
44374d4 David Malin readme edits
authored
21 3. Make it exectuable.
22 So...all thats left is to make the permissions correct.
b6a344f David Malin init. it
authored
23
44374d4 David Malin readme edits
authored
24 Run The Following Command:
25 Note This is with the assumption that the user has chosen to place the sb utility in /usr/bin
b6a344f David Malin init. it
authored
26
b762561 David Malin readme edits
authored
27 sudo chmod +x /usr/bin/sb
b6a344f David Malin init. it
authored
28
29
44374d4 David Malin readme edits
authored
30 4. Enjoy.
Something went wrong with that request. Please try again.