mirror of
https://github.com/cheat/cheat.git
synced 2025-09-02 18:18:30 +02:00
Updated the README to include instructions for enabling syntax highlighting.
This commit is contained in:
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][].
|
with your [dotfiles][].
|
||||||
|
|
||||||
|
|
||||||
|
Advanced Features
|
||||||
|
=================
|
||||||
|
|
||||||
Setting a CHEATPATH
|
Setting a CHEATPATH
|
||||||
----------------------
|
----------------------
|
||||||
By default, all cheatsheets are installed to `~/.cheat/`, but you can instruct
|
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
|
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
|
Contributing
|
||||||
============
|
============
|
||||||
|
Reference in New Issue
Block a user