summaryrefslogtreecommitdiffhomepage
path: root/scripts/gist
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-27 10:40:03 +0800
committertypebrook <typebrook@gmail.com>2019-12-27 10:40:03 +0800
commitcde4a6525ad76e34f193d7540777ee3783c51edc (patch)
tree412ee2aec790bf00eb17f1828321e3aff63e7682 /scripts/gist
parent999e7de7977b7eb5f7e37500eb1ea67992065aec (diff)
update
Diffstat (limited to 'scripts/gist')
-rwxr-xr-xscripts/gist1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index 40c062f..9dfa31d 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -52,7 +52,6 @@ index=$folder/index
52# get the list of gists 52# get the list of gists
53_update() { 53_update() {
54 curl -s -H "$auth_header" $github_api/users/$user/gists |\ 54 curl -s -H "$auth_header" $github_api/users/$user/gists |\
55 tee keep |\
56 jq '.[] | "\( .html_url ) \(.files | keys | length) \(.comments) \( .description )"' |\ 55 jq '.[] | "\( .html_url ) \(.files | keys | length) \(.comments) \( .description )"' |\
57 tr -d '"' | tac | nl |\ 56 tr -d '"' | tac | nl |\
58 while read line_num link file_num comment_num description; do 57 while read line_num link file_num comment_num description; do