1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Add doc how to switch caching off (#291)

This commit is contained in:
Igor Chubin
2021-04-25 21:00:30 +02:00
parent 562875eda6
commit 6d83c4d76c
+11
View File
@@ -42,6 +42,17 @@ directory.
![cheat.sh standalone installation](https://user-images.githubusercontent.com/3875145/57986904-ef3f1b80-7a7a-11e9-9531-ef37ec74b03a.png)
If you don't plan to use Redis for caching,
switch the caching off in the config file:
```
$ vim ~/.cheat.sh/etc/config.yaml
cache:
type: none
```
or with the environment variable `CHEATSH_CACHE_TYPE=none`.
## Update cheat sheets
Cheat sheets are fetched and installed to `~/.cheat.sh/upstream`.