From 702f043ff41401355a4192f8731f21db0fed4913 Mon Sep 17 00:00:00 2001 From: a-sk Date: Thu, 29 Aug 2013 19:19:19 +0400 Subject: [PATCH] Add note about DEFAULT_CHEAT_DIR to the README file --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 64a95ae..94636e1 100644 --- a/README.md +++ b/README.md @@ -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: