aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-26 18:52:29 +0800
committertypebrook <typebrook@gmail.com>2019-12-26 18:52:29 +0800
commitd8f364ab2380aa080f26ea9bdea6e4dcab243e45 (patch)
tree1bffd2e84274d24205916b41fe13e9f2db82e16c
parent54c07b3e6f90802f1eb80711b83d365076cc5e16 (diff)
update
-rwxr-xr-xgist1
1 files changed, 0 insertions, 1 deletions
diff --git a/gist b/gist
index 40c062f..9dfa31d 100755
--- a/gist
+++ b/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