From 538acb9b7ea68cadf6c250722b4a6aa67f58adfa Mon Sep 17 00:00:00 2001 From: "gitlab.com/pepa65" Date: Wed, 28 Dec 2022 17:26:49 +0700 Subject: [PATCH] master->main --- README.md | 2 +- tldr | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5969e2a..eac22dd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # tldr-bash-client -* version 0.4.10 +* version 0.4.11 ### Bash client for tldr: community driven man-by-example **A fully-functional [bash](https://tiswww.case.edu/php/chet/bash/bashtop.html) diff --git a/tldr b/tldr index b0fb40c..8783127 100755 --- a/tldr +++ b/tldr @@ -1,7 +1,7 @@ #!/usr/bin/env bash set +vx -o pipefail [[ $- = *i* ]] && echo "Don't source this script!" && return 1 -version='0.4.10' +version='0.4.11' # tldr-bash-client version 0.48 # Bash client for tldr: community driven man-by-example # - forked from Ray Lee, https://github.com/raylee/tldr @@ -215,7 +215,7 @@ Config(){ Err "tldr requires ${I}curl$XI or ${I}wget$XI installed in your path" && exit 3 - repo_url='https://raw.githubusercontent.com/tldr-pages/tldr/master' + repo_url='https://raw.githubusercontent.com/tldr-pages/tldr/main' zip_url='https://tldr.sh/assets/tldr.zip' cachedir=$TLDR_CACHE_LOCATION