diff options
author | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-19 11:42:26 +0800 |
---|---|---|
committer | Hsieh Chin Fan <typebrook@gmail.com> | 2020-06-19 11:42:26 +0800 |
commit | 1e9aaa0737fe76ce83aee1881dda8a094d9375f6 (patch) | |
tree | c7f3537f63e505043684fb115f3eb6d7dc36fbd9 | |
parent | eebae0dcf550b3ffff796b9c25ccdf07ea42ba06 (diff) |
update
-rwxr-xr-x | gist | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |