aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-18 18:11:25 +0800
committertypebrook <typebrook@gmail.com>2020-03-18 18:33:30 +0800
commite1c9027186a05f25a72736d115436c6492adb18d (patch)
tree6edb72c732f511821d9a0d797f0f6acf54fd5026
parentf7c727ac77983061cac70a957e12808c8e04a7cf (diff)
Reformat 'gist detail'
-rwxr-xr-xgist4
1 files changed, 2 insertions, 2 deletions
diff --git a/gist b/gist
index 916caf5..a6d8f04 100755
--- a/gist
+++ b/gist
@@ -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