Add files for bpkg
This commit is contained in:
parent
f7c0d509f0
commit
7268b5591a
|
@ -0,0 +1,8 @@
|
|||
BIN ?= tldr
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
install:
|
||||
cp $(BIN) $(PREFIX)/bin/$(BIN)
|
||||
|
||||
uninstall:
|
||||
rm -f -- $(PREFIX)/bin/$(BIN)
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"name": "tldr-bash-client",
|
||||
"version": "0.1a",
|
||||
"description": "A fully-functional bash client for the tldr project, providing poignant examples of terminal commands",
|
||||
"global": "true",
|
||||
"install": "make install",
|
||||
"uninstall": "make uninstall",
|
||||
"scripts": [ "tldr" ]
|
||||
}
|
6
tldr
6
tldr
|
@ -3,8 +3,10 @@ set +vx -o pipefail
|
|||
[[ $- = *i* ]] && echo "Don't source this script!" && return 1
|
||||
VERSION='0.1a'
|
||||
# tldr-bash-client version 0.1a
|
||||
# forked from Ray Lee, http://github.com/raylee/tldr
|
||||
# modified and expanded by pepa65: http://github.com/pepa65/tldr-bash-client
|
||||
# A fully-functional bash client for the tldr project, providing
|
||||
# poignant examples of terminal commands.
|
||||
# - forked from Ray Lee, http://github.com/raylee/tldr
|
||||
# - modified and expanded by pepa65: http://github.com/pepa65/tldr-bash-client
|
||||
# Requiring: coreutils, less, grep, unzip, curl/wget
|
||||
|
||||
# The 5 elements in TLDR markup that can be styled with these colors and
|
||||
|
|
Loading…
Reference in New Issue