aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-02-10 15:29:57 +0800
committertypebrook <typebrook@gmail.com>2020-02-10 15:29:57 +0800
commit932c9dbd5489ecc0dc7cc25f73a3fd585d9a1446 (patch)
tree8671e13ceb209919bcd1bee5b047c6938f55e127
parent36812b1ee6b3cdb3107763c955d1f0c42b06c8fd (diff)
update
-rwxr-xr-xscripts/gist5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/gist b/scripts/gist
index 59fbd06..291e513 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -37,7 +37,6 @@
37# Since now a gist is a local cloned repo 37# Since now a gist is a local cloned repo
38# It is your business to do git commit and git push 38# It is your business to do git commit and git push
39 39
40# TODO test on bats, mac and remote machine
41currentVersion="1.23.0" 40currentVersion="1.23.0"
42configuredClient="" 41configuredClient=""
43 42
@@ -50,8 +49,8 @@ auto_sync=true # automatically clone the gist repo
50 49
51# Shell configuration 50# Shell configuration
52set -o pipefail 51set -o pipefail
53[ "$TRACE" ] && set -x 52[[ $TRACE ]] && set -x
54[ $(uname) == 'Darwin' ] && alias tac='tail -r' 53[[ $(uname) == 'Darwin' ]] && alias tac='tail -r'
55trap 'rm -f "$http_data" "$tmp_file"' EXIT 54trap 'rm -f "$http_data" "$tmp_file"' EXIT
56 55
57# This function determines which http get tool the system has installed and returns an error if there isnt one 56# This function determines which http get tool the system has installed and returns an error if there isnt one