Moved to gitlab
This commit is contained in:
parent
8f3376ab83
commit
7033c3324e
|
@ -108,7 +108,7 @@ coreutils, sed, grep, find
|
||||||
Please file an issue for a question, a bug or a feature request.
|
Please file an issue for a question, a bug or a feature request.
|
||||||
Or even better, send a pull request!
|
Or even better, send a pull request!
|
||||||
|
|
||||||
[tldr-bash-client github page](http://github.com/pepa65/tldr-bash-client "github.com/pepa65/tldr-bash-client")
|
[tldr-bash-client gitlab page](http://gitlab.com/pepa65/tldr-bash-client "gitlab.com/pepa65/tldr-bash-client")
|
||||||
|
|
||||||
### License
|
### License
|
||||||
|
|
||||||
|
|
6
tldr
6
tldr
|
@ -5,7 +5,7 @@ version='0.39'
|
||||||
# tldr-bash-client version 0.39
|
# tldr-bash-client version 0.39
|
||||||
# Bash client for tldr: community driven man-by-example
|
# Bash client for tldr: community driven man-by-example
|
||||||
# - forked from Ray Lee, https://github.com/raylee/tldr
|
# - forked from Ray Lee, https://github.com/raylee/tldr
|
||||||
# - modified and expanded by pepa65: https://github.com/pepa65/tldr-bash-client
|
# - modified and expanded by pepa65: https://gitlab.com/pepa65/tldr-bash-client
|
||||||
# - binary download: http://4e4.win/tldr
|
# - binary download: http://4e4.win/tldr
|
||||||
# Requiring: coreutils, grep, unzip, curl/wget, less (optional)
|
# Requiring: coreutils, grep, unzip, curl/wget, less (optional)
|
||||||
|
|
||||||
|
@ -65,7 +65,7 @@ Usage(){
|
||||||
$HOP-r$XHOP, $HOP--render$XHOP ${HFI}file$XHFI: Render ${HFI}file$XHFI as tldr markdown
|
$HOP-r$XHOP, $HOP--render$XHOP ${HFI}file$XHFI: Render ${HFI}file$XHFI as tldr markdown
|
||||||
$HOP-m$XHOP, $HOP--markdown$XHOP ${HCO}command$XHCO: Show the markdown source for ${HCO}command$XHCO
|
$HOP-m$XHOP, $HOP--markdown$XHOP ${HCO}command$XHCO: Show the markdown source for ${HCO}command$XHCO
|
||||||
$HOP-u$XHOP, $HOP--update$XHOP: Update the pages cache by downloading repo archive
|
$HOP-u$XHOP, $HOP--update$XHOP: Update the pages cache by downloading repo archive
|
||||||
$HOP-v$XHOP, $HOP--version$XHOP: Version number and github repo location
|
$HOP-v$XHOP, $HOP--version$XHOP: Version number and gitlab repo location
|
||||||
$HDE[$HOP-h$XHOP, $HOP-?$XHOP, $HOP--help$XHOP]: This help overview
|
$HDE[$HOP-h$XHOP, $HOP-?$XHOP, $HOP--help$XHOP]: This help overview
|
||||||
|
|
||||||
${HDE}Element styling:$XHDE ${T}Title$XT ${D}Description$XD ${E}Example$XE ${C}Code$XC ${V}Value$XV
|
${HDE}Element styling:$XHDE ${T}Title$XT ${D}Description$XD ${E}Example$XE ${C}Code$XC ${V}Value$XV
|
||||||
|
@ -199,7 +199,7 @@ Config(){
|
||||||
trap 'cat <<<"$stdout"' EXIT ||
|
trap 'cat <<<"$stdout"' EXIT ||
|
||||||
trap 'less -~RXQFP"Browse up/down, press Q to exit " <<<"$stdout"' EXIT
|
trap 'less -~RXQFP"Browse up/down, press Q to exit " <<<"$stdout"' EXIT
|
||||||
|
|
||||||
version="tldr-bash-client version $version$XB ${URL}http://github.com/pepa65/tldr-bash-client$XURL"
|
version="tldr-bash-client version $version$XB ${URL}http://gitlab.com/pepa65/tldr-bash-client$XURL"
|
||||||
|
|
||||||
# Select download method
|
# Select download method
|
||||||
dl="$(type -p curl) -sLfo" || {
|
dl="$(type -p curl) -sLfo" || {
|
||||||
|
|
|
@ -7,7 +7,7 @@ version='0.13'
|
||||||
# Old syntax files $f can be changed into new syntax files by:
|
# Old syntax files $f can be changed into new syntax files by:
|
||||||
# sed -i -e "1s/^# //" -e 's/^- //' -e 's/^`\(.*\)`$/ \1/' "$f"
|
# sed -i -e "1s/^# //" -e 's/^- //' -e 's/^`\(.*\)`$/ \1/' "$f"
|
||||||
# e=$(sed '1s/./=/g;q' "$f") sed -i "2i$e" "$f"
|
# e=$(sed '1s/./=/g;q' "$f") sed -i "2i$e" "$f"
|
||||||
# Part of http://github.com/pepa65/tldr-bash-client
|
# Part of http://gitlab.com/pepa65/tldr-bash-client
|
||||||
# Requirements: coreutils sed grep find
|
# Requirements: coreutils sed grep find
|
||||||
|
|
||||||
Help(){ # $1: optional message
|
Help(){ # $1: optional message
|
||||||
|
|
Loading…
Reference in New Issue