diff options
author | typebrook <typebrook@gmail.com> | 2020-03-18 18:11:25 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-18 18:33:30 +0800 |
commit | e1c9027186a05f25a72736d115436c6492adb18d (patch) | |
tree | 6edb72c732f511821d9a0d797f0f6acf54fd5026 | |
parent | f7c727ac77983061cac70a957e12808c8e04a7cf (diff) |
Reformat 'gist detail'
-rwxr-xr-x | gist | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -501,10 +501,10 @@ _show_detail() { | |||
501 | sed -n "/^$1 / p" $INDEX \ | 501 | sed -n "/^$1 / p" $INDEX \ |
502 | | while read -r "${INDEX_FORMAT[@]}"; do | 502 | | while read -r "${INDEX_FORMAT[@]}"; do |
503 | local hashtags=$(_hashtags "$description") | 503 | local hashtags=$(_hashtags "$description") |
504 | echo description: ${description%% $hashtags} | 504 | echo desc: ${description%% $hashtags} |
505 | echo tags: $hashtags | 505 | echo tags: $hashtags |
506 | echo site: https://gist.github.com/$GIST_ID | 506 | echo site: https://gist.github.com/$GIST_ID |
507 | echo API: https://api.github.com/gists/$GIST_ID | 507 | echo API : https://api.github.com/gists/$GIST_ID |
508 | echo created_at: $created_at | 508 | echo created_at: $created_at |
509 | echo updated_at: $updated_at | 509 | echo updated_at: $updated_at |
510 | repo=$folder/$GIST_ID | 510 | repo=$folder/$GIST_ID |