aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-01-13 11:30:41 +0800
committertypebrook <typebrook@gmail.com>2020-01-13 11:30:41 +0800
commit01265ccc9b5a7e45ae17f67fb50b0c261364141e (patch)
tree47ad66fbff4a9c58dc4eee16f2be8be07435c655 /scripts
parent29cedfbdacfe2920b17669a43d0bd05a3050aa3f (diff)
update
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gist1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist
index 0fb162f..2b1bf33 100755
--- a/scripts/gist
+++ b/scripts/gist
@@ -63,7 +63,6 @@ _show_list() {
63# TODO support secret gist 63# TODO support secret gist
64_update() { 64_update() {
65 curl -s -H "$auth_header" $github_api/users/$user/gists |\ 65 curl -s -H "$auth_header" $github_api/users/$user/gists |\
66 tee jojo |\
67 jq '.[] | "\(.html_url) \([.files[] | .raw_url]) \(.files | keys | length) \(.comments) \(.description)"' |\ 66 jq '.[] | "\(.html_url) \([.files[] | .raw_url]) \(.files | keys | length) \(.comments) \(.description)"' |\
68 tac | nl |\ 67 tac | nl |\
69 while read line_num link file_url_array file_num comment_num description; do 68 while read line_num link file_url_array file_num comment_num description; do