Updated the README to include instructions for enabling syntax highlighting.

This commit is contained in:
Chris Lane 2013-08-21 23:00:22 -04:00
parent c15e836268
commit 7138a32c4d
1 changed files with 12 additions and 0 deletions

View File

@ -83,6 +83,9 @@ After you've customized your cheatsheets, I urge you to track `~/.cheat/` along
with your [dotfiles][].
Advanced Features
=================
Setting a CHEATPATH
----------------------
By default, all cheatsheets are installed to `~/.cheat/`, but you can instruct
@ -99,6 +102,15 @@ You may, of course, append multiple directories to your `CHEATPATH`:
export CHEATPATH=$CHEATPATH:/path/to/more/cheats
```
Enabling Syntax Highlighting
----------------------------
`cheat` can provide syntax highlighting on your cheatsheets if so desired. To
enable this feature, set a `$CHEATCOLORS` environment variable:
```bash
export CHEATCOLORS=true
```
Contributing
============