mirror of
https://github.com/cheat/cheat.git
synced 2024-11-21 21:41:35 +01:00
Updated the README to include instructions for enabling syntax highlighting.
This commit is contained in:
parent
c15e836268
commit
7138a32c4d
12
README.md
12
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
|
||||
============
|
||||
|
Loading…
Reference in New Issue
Block a user