mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
README edits
Updated the README to mention the new `CHEAT_HIGHLIGHT` environment variable.
This commit is contained in:
parent
28a2902e20
commit
1224908445
17
README.md
17
README.md
@ -137,6 +137,23 @@ WHERE id = 100
|
||||
If no syntax highlighter is specified, the `bash` highlighter will be used by
|
||||
default.
|
||||
|
||||
### Enabling Search Match Highlighting ###
|
||||
`cheat` can optionally be configured to highlight search term matches in search
|
||||
results. To do so, export a `CHEAT_HIGHLIGHT` environment variable with a value
|
||||
of one of the following:
|
||||
|
||||
- blue
|
||||
- cyan
|
||||
- green
|
||||
- grey
|
||||
- magenta
|
||||
- red
|
||||
- white
|
||||
- yellow
|
||||
|
||||
Note that the `termcolor` module must be installed on your system for this to
|
||||
work.
|
||||
|
||||
|
||||
See Also:
|
||||
---------
|
||||
|
Loading…
Reference in New Issue
Block a user