mirror of
https://github.com/cheat/cheat.git
synced 2024-11-22 05:51:35 +01:00
Add note about DEFAULT_CHEAT_DIR to the README file
This commit is contained in:
parent
23de32ce50
commit
702f043ff4
@ -88,6 +88,14 @@ Advanced Features
|
|||||||
|
|
||||||
Setting a CHEATPATH
|
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
|
By default, all cheatsheets are installed to `~/.cheat/`, but you can instruct
|
||||||
`cheat` to look for cheatsheets in other directories by exporting a `CHEATPATH`
|
`cheat` to look for cheatsheets in other directories by exporting a `CHEATPATH`
|
||||||
environment variable:
|
environment variable:
|
||||||
|
Loading…
Reference in New Issue
Block a user