From 7138a32c4de954cf3e898e70d2c3ad234b5a0aaf Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Wed, 21 Aug 2013 23:00:22 -0400 Subject: [PATCH] Updated the README to include instructions for enabling syntax highlighting. --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 3817050..c0f810c 100644 --- a/README.md +++ b/README.md @@ -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 ============