aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <typebrook@gmail.com>2020-06-19 11:42:26 +0800
committerHsieh Chin Fan <typebrook@gmail.com>2020-06-19 11:42:26 +0800
commit1e9aaa0737fe76ce83aee1881dda8a094d9375f6 (patch)
treec7f3537f63e505043684fb115f3eb6d7dc36fbd9
parenteebae0dcf550b3ffff796b9c25ccdf07ea42ba06 (diff)
update
-rwxr-xr-xgist8
1 files changed, 4 insertions, 4 deletions
diff --git a/gist b/gist
index 9a67433..9216e73 100755
--- a/gist
+++ b/gist
@@ -598,11 +598,11 @@ for comment in raw:
598_show_detail() { 598_show_detail() {
599 _set_gist_id $1 || return 1 599 _set_gist_id $1 || return 1
600 600
601 sed -En -e "/[^ ]+ [^ ]+${GIST_ID} / {p; q}" $INDEX \ 601 sed -En -e "/[^ ]+ [^ ]+ ${GIST_ID} / {p; q}" $INDEX \
602 | while read -r "${INDEX_FORMAT[@]}"; do 602 | while read -r "${INDEX_FORMAT[@]}"; do
603 echo -e desc: $(_color_pattern '^(\[.+\])' <<<"$description") 603 echo -e Desc: $(_color_pattern '^(\[.+\])' <<<"$description")
604 echo -e tags: ${tags_string//,/ } 604 echo -e Tags: ${tags_string//,/ }
605 echo -e site: ${GIST_DOMAIN}/${GIST_ID} 605 echo -e Site: ${GIST_DOMAIN}/${GIST_ID}
606 echo -e API : https://api.github.com/gists/${GIST_ID} 606 echo -e API : https://api.github.com/gists/${GIST_ID}
607 echo -e created_at: $created_at 607 echo -e created_at: $created_at
608 echo -e updated_at: $updated_at 608 echo -e updated_at: $updated_at