Add note about DEFAULT_CHEAT_DIR to the README file

This commit is contained in:
a-sk 2013-08-29 19:19:19 +04:00
parent 23de32ce50
commit 702f043ff4
1 changed files with 8 additions and 0 deletions

View File

@ -88,6 +88,14 @@ Advanced Features
Setting a CHEATPATH
----------------------
By default cheatsheets are stored in the `~/.cheat/` directory, you can
override it by setting `DEFAULT_CHEAT_DIR` environment variable.
```bash
export DEFAULT_CHEAT_DIR=/path/to/my/cheats
```
By default, all cheatsheets are installed to `~/.cheat/`, but you can instruct
`cheat` to look for cheatsheets in other directories by exporting a `CHEATPATH`
environment variable: