You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cache is downloaded from `TLDR_DOWNLOAD_CACHE_LOCATION` (defaults to the one described in [the client specification](https://github.com/tldr-pages/tldr/blob/master/CLIENT-SPECIFICATION.md#caching)), unzipped and extracted into the [local cache directory](#cache-location). Pages are loaded directly from `TLDR_PAGES_SOURCE_LOCATION` if `tldr <command>` is used.
75
+
Cache is downloaded from `TLDR_DOWNLOAD_CACHE_LOCATION` (defaults to the one described in [the client specification](https://github.com/tldr-pages/tldr/blob/main/CLIENT-SPECIFICATION.md#caching)), unzipped and extracted into the [local cache directory](#cache-location). Pages are loaded directly from `TLDR_PAGES_SOURCE_LOCATION` if `tldr <command>` is used.
76
76
77
77
*`TLDR_CACHE_ENABLED` (default is `1`):
78
78
* If set to `1`, the client will first try to load from cache, and fall back to fetching from the internet if the cache doesn't exist or is too old.
@@ -153,7 +153,7 @@ If you wish to use your own instance of the tldr pages instead of the default re
153
153
can either use the `--source` flag when using tldr or by specifying the following environment variables:
154
154
155
155
*`TLDR_PAGES_SOURCE_LOCATION` to control where to get individual pages from
156
-
* defaults to `https://raw.githubusercontent.com/tldr-pages/tldr/master/pages`
156
+
* defaults to `https://raw.githubusercontent.com/tldr-pages/tldr/main/pages`
157
157
* it can also point to local directory using `file:///path/to/directory`
158
158
*`TLDR_DOWNLOAD_CACHE_LOCATION` to control where to pull a zip of all pages from
159
159
* defaults to `https://tldr-pages.github.io/assets/tldr.zip`
0 commit comments