mirror of https://github.com/cheat/cheat.git
Modified the README.
This commit is contained in:
parent
e71a3d627d
commit
65c557612e
17
README.md
17
README.md
|
@ -86,19 +86,20 @@ with your [dotfiles][].
|
||||||
Advanced Features
|
Advanced Features
|
||||||
=================
|
=================
|
||||||
|
|
||||||
Setting a CHEATPATH
|
Setting a DEFAULT_CHEAT_DIR
|
||||||
----------------------
|
---------------------------
|
||||||
|
Personal cheatsheets are saved in the `~/.cheat` directory by default, but you
|
||||||
By default cheatsheets are stored in the `~/.cheat/` directory, you can
|
can specify a different default by exporting a `DEFAULT_CHEAT_DIR` environment
|
||||||
override it by setting `DEFAULT_CHEAT_DIR` environment variable.
|
variable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export DEFAULT_CHEAT_DIR=/path/to/my/cheats
|
export DEFAULT_CHEAT_DIR=/path/to/my/cheats
|
||||||
```
|
```
|
||||||
|
|
||||||
By default, all cheatsheets are installed to `~/.cheat/`, but you can instruct
|
Setting a CHEATPATH
|
||||||
`cheat` to look for cheatsheets in other directories by exporting a `CHEATPATH`
|
-------------------
|
||||||
environment variable:
|
You can additionally instruct `cheat` to look for cheatsheets in other
|
||||||
|
directories by exporting a `CHEATPATH` environment variable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export CHEATPATH=/path/to/my/cheats
|
export CHEATPATH=/path/to/my/cheats
|
||||||
|
|
Loading…
Reference in New Issue