shell code higlight in readme

This commit is contained in:
Ionică Bizău 2014-02-10 21:25:40 +02:00
parent 6ab702937c
commit 3a13497a63

@ -34,7 +34,9 @@ Otherwise, you must first find your Sublime Text 2 packages directory. You can f
Next either create a `daylerees - themes` folder within this directory, and copy the contents of the github repository inside, or clone the repository using the GIT software within the packages directory :
git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
```sh
$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
```
Now simply use the `Color Schemes` option of your preferences menu to switch between themes, enjoy!
@ -42,18 +44,22 @@ Now simply use the `Color Schemes` option of your preferences menu to switch bet
Clone the repository and copy the theme files into `~/Library/Application\ Support/TextMate/Themes/`:
$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
$ cd daylerees-themes
$ mkdir ~/Library/Application\ Support/TextMate/Themes/
$ cp *.tmTheme ~/Library/Application\ Support/TextMate/Themes/
```sh
$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
$ cd daylerees-themes
$ mkdir ~/Library/Application\ Support/TextMate/Themes/
$ cp *.tmTheme ~/Library/Application\ Support/TextMate/Themes/
```
### Textmate 2
Clone the repository and copy the theme files into `~/Library/Application\ Support/TextMate/Managed/Bundles/Themes.tmbundle/Themes/`:
$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
$ cd daylerees-themes
$ cp *.tmTheme ~/Library/Application\ Support/TextMate/Managed/Bundles/Themes.tmbundle/Themes/
```sh
$ git clone https://github.com/daylerees/colour-schemes.git daylerees-themes
$ cd daylerees-themes
$ cp *.tmTheme ~/Library/Application\ Support/TextMate/Managed/Bundles/Themes.tmbundle/Themes/
```
Note that you cannot clone the repository into the Themes directory -- as of this writing TextMate 2 will not recursively scan subdirectories searching for themes. Also note that you cannot symlink the themes into the Themes directory either -- TextMate will hang attempting to process them.