@@ -6,8 +6,9 @@ category: default
6
6
tags : [color, github, docs, client, markdown, bash]
7
7
---
8
8
{% include JB/setup %}
9
- Source code repo: https://github.com/pepa65/tldr-bash-client
10
- Author: pepa65
< [email protected] >
9
+
10
+ * Source code repo: https://github.com/pepa65/tldr-bash-client
11
+ * Author: pepa65
< [email protected] >
11
12
12
13
# tldr-bash-client
13
14
@@ -45,24 +46,29 @@ coreutils, less, grep, unzip, curl / wget
45
46
-m, --markdown <command>: Show the markdown source for command
46
47
-c, --cache: Cache all pages by downloading archive from repo
47
48
-u, --update: Re-download index file from repo
49
+
50
+ -v, --version: Version number and repo location
48
51
[-h, -?, --help]: This help overview
49
52
50
- All pages and the index are cached locally under ~/.config/tldr.
51
- By default, the cached copies will be re-downloaded after 60 days.
53
+ All pages and the index are cached locally under ~/.config/tldr
54
+ By default, the cached copies will be re-downloaded after 60 days
52
55
```
53
56
54
57
## Customisation
58
+
55
59
The colors and other styling of the 5 elements of tldr pages can be modified
56
60
either by editing the first few lines of the scipt, or by setting the following
57
61
environment variables:
62
+
58
63
* TLDR_TITLE_STYLE (defaults to: Newline Space Bold Yellow)
59
64
* TLDR_DESCRIPTION_STYLE (defaults to: Space Yellow)
60
65
* TLDR_EXAMPLE_STYLE (defaults to: Newline Bold Green)
61
66
* TLDR_CODE_STYLE (defaults to: Space Bold Blue)
62
67
* TLDR_VALUE_STYLE (defaults to: Bold Cyan)
63
68
64
69
Also the error color and page expiry can easily be set:
65
- * TLDR_ERROR_COLOR (defaults to: Red)
70
+
71
+ * TLDR_ERROR_COLOR (defaults to: Space Red)
66
72
* TLDR_EXPIRY (defaults to: 60)
67
73
68
74
## Contributing
0 commit comments