Cut down screenshots, removed mention of ncurses (tput) as requirement

This commit is contained in:
pepa65 2017-02-06 00:19:38 +07:00
parent 8394083faa
commit 4ae15472b2
12 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ sudo chmod +x $location
If the location is not in $PATH, you need to specify the path to run it.
### Prerequisites
coreutils, ncurses(tput), less, grep, unzip, curl / wget
coreutils, less, grep, unzip, curl / wget
![tldr screenshot usage](tldr-usage.png?raw=true)

4
tldr
View File

@ -4,7 +4,7 @@ set +x -o pipefail
# Bash tldr client
# forked from Ray Lee, http://github.com/raylee/tldr
# modified and expanded by pepa65: http://github.com/pepa65/tldr
# Requiring: coreutils, ncurses(tput), less, grep, unzip, curl/wget
# Requiring: coreutils, less, grep, unzip, curl/wget
# The 5 elements in TLDR markup that can be styled with these colors and
# backgrounds (last one specified will be used) and modes (more can apply):
@ -179,7 +179,7 @@ Unlinted(){ # $1: error message
exit 4
}
Get_tldr(){ # $1: page
Get_tldr(){ # $1: page
# convert the local platform name to tldr's version
# extract the platform key from index.json, return preferred subpath to page
local desc=$(tr '{' '\n' <$index |grep "\"name\":\"$1\"")

BIN
tldr-customize.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 KiB

BIN
tldr-list.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

BIN
tldr-markdown.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

BIN
tldr-page.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

BIN
tldr-usage.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 83 KiB